diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2001-05-18 19:43:18 +0000 | 
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2001-05-18 19:43:18 +0000 | 
| commit | a9d09e93dbc4392d96db45cefb046c7140bc3ea3 (patch) | |
| tree | 639e87407d392c6cbb5f14a17aac4acb9229f361 /lib/libc | |
| parent | 4ba4d3873ad568b926b2ac65867c53983feea39d (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/rpc/clnt_dg.c | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/rpc/clnt_dg.c b/lib/libc/rpc/clnt_dg.c index 089c79b9b489..2ab6f4a12999 100644 --- a/lib/libc/rpc/clnt_dg.c +++ b/lib/libc/rpc/clnt_dg.c @@ -310,7 +310,7 @@ clnt_dg_call(cl, proc, xargs, argsp, xresults, resultsp, utimeout)  	int dtbsize = __rpc_dtbsize();  	sigset_t mask;  	sigset_t newmask; -	socklen_t fromlen, inlen; +	socklen_t inlen;  	ssize_t recvlen = 0;  	int rpc_lock_value;  	u_int32_t xid; @@ -492,10 +492,8 @@ get_reply:  				 */  				errno = 0;  			} -			fromlen = sizeof (struct sockaddr_storage);  			recvlen = _recvfrom(cu->cu_fd, cu->cu_inbuf, -			    cu->cu_recvsz, 0, (struct sockaddr *)(void *)&cu->cu_raddr, -			    &fromlen); +			    cu->cu_recvsz, 0, NULL, NULL);  		} while (recvlen < 0 && errno == EINTR);  		if (recvlen < 0) {  			if (errno == EWOULDBLOCK)  | 
