Oops. Do previous fix on the right line this time.. (thanks Charles)

This commit is contained in:
fvdl 1996-02-25 17:47:26 +00:00
parent 1f20fc9fc2
commit 3821dd940b
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfs_socket.c,v 1.25 1996/02/25 15:30:01 fvdl Exp $ */
/* $NetBSD: nfs_socket.c,v 1.26 1996/02/25 17:47:26 fvdl Exp $ */
/*
* Copyright (c) 1989, 1991, 1993, 1995
@ -228,13 +228,13 @@ nfs_connect(nmp, rep)
so->so_snd.sb_timeo = 0;
}
if (nmp->nm_sotype == SOCK_DGRAM) {
sndreserve = nmp->nm_wsize, + NFS_MAXPKTHDR;
sndreserve = nmp->nm_wsize + NFS_MAXPKTHDR;
rcvreserve = max(nmp->nm_rsize, nmp->nm_readdirsize) +
NFS_MAXPKTHDR;
} else if (nmp->nm_sotype == SOCK_SEQPACKET) {
sndreserve = (max(nmp->nm_wsize, nmp->nm_readdirsize) +
sndreserve = (nmp->nm_wsize + NFS_MAXPKTHDR) * 2;
rcvreserve = (max(nmp->nm_rsize, nmp->nm_readdirsize) +
NFS_MAXPKTHDR) * 2;
rcvreserve = (nmp->nm_rsize + NFS_MAXPKTHDR) * 2;
} else {
if (nmp->nm_sotype != SOCK_STREAM)
panic("nfscon sotype");