From 0bdb8d4f216cafb4fef03c9a1fc1f87508eed2d3 Mon Sep 17 00:00:00 2001 From: hjl Date: Sun, 11 Feb 2001 01:11:44 +0000 Subject: 2001-02-02 H.J. Lu * support/include/rpcmisc.h (rpc_init): Remove bufsize. * support/nfs/rpcmisc.c (makesock): Remove socksz and comment out SO_SNDBUF/SO_RCVBUF. (rpc_init): Remove bufsize and remove socksz in calls to makesock (). * utils/mountd/mountd.c (main): Remove bufsize in calls to rpc_init (). --- utils/mountd/mountd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils') diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c index 4df7083..8779afe 100644 --- a/utils/mountd/mountd.c +++ b/utils/mountd/mountd.c @@ -454,13 +454,13 @@ main(int argc, char **argv) if (nfs_version & 0x1) rpc_init("mountd", MOUNTPROG, MOUNTVERS, - mount_dispatch, port, 0); + mount_dispatch, port); if (nfs_version & (0x1 << 1)) rpc_init("mountd", MOUNTPROG, MOUNTVERS_POSIX, - mount_dispatch, port, 0); + mount_dispatch, port); if (nfs_version & (0x1 << 2)) rpc_init("mountd", MOUNTPROG, MOUNTVERS_NFSV3, - mount_dispatch, port, 0); + mount_dispatch, port); sa.sa_handler = killer; sigaction(SIGHUP, &sa, NULL); -- cgit