Fix bug I introduced on 19990503 by renaming a variable.
This commit is contained in:
parent
9b9842a28b
commit
ce19a15ee8
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: svc_udp.c,v 1.18 1999/05/03 15:32:13 christos Exp $ */
|
||||
/* $NetBSD: svc_udp.c,v 1.19 1999/05/09 20:11:23 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
@ -35,7 +35,7 @@
|
||||
static char *sccsid = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";
|
||||
static char *sccsid = "@(#)svc_udp.c 2.2 88/07/29 4.0 RPCSRC";
|
||||
#else
|
||||
__RCSID("$NetBSD: svc_udp.c,v 1.18 1999/05/03 15:32:13 christos Exp $");
|
||||
__RCSID("$NetBSD: svc_udp.c,v 1.19 1999/05/09 20:11:23 christos Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -207,7 +207,7 @@ svcudp_recv(xprt, msg)
|
||||
socklen_t alen;
|
||||
|
||||
again:
|
||||
xprt->xp_addrlen = sizeof(struct sockaddr_in);
|
||||
alen = sizeof(struct sockaddr_in);
|
||||
rlen = recvfrom(xprt->xp_sock, rpc_buffer(xprt), su->su_iosz,
|
||||
0, (struct sockaddr *)(void *)&(xprt->xp_raddr), &alen);
|
||||
if (rlen == -1 && errno == EINTR)
|
||||
|
Loading…
Reference in New Issue
Block a user