diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-12-13 11:05:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-12-13 11:05:07 +0000 |
commit | 70b0abbaa2c30fb181d254f00b37cde027140878 (patch) | |
tree | 53bfb1977ba11eda0b64e027c32eb876a909ee8c /sunrpc | |
parent | 9fc19e48b594911f45a3df47218e47c42238ceb8 (diff) | |
download | glibc-70b0abbaa2c30fb181d254f00b37cde027140878.tar.gz glibc-70b0abbaa2c30fb181d254f00b37cde027140878.tar.xz glibc-70b0abbaa2c30fb181d254f00b37cde027140878.zip |
Update.
1998-12-13 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sunrpc/svc_udp.c (svcudp_bufcreate): Declare len as socklen_t. (svcudp_recv): Likewise. 1998-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nis/nss-nisplus.h: Change some mappings of NIS+ errors to NSS error codes to avoid endless loops. 1998-12-13 Ulrich Drepper <drepper@cygnus.com> * iconvdata/gconv-modules: Correct aliases for ISO-8859-13 and add aliases for ISO-8859-14.
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/svc_udp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sunrpc/svc_udp.c b/sunrpc/svc_udp.c index 4ea421a7b2..3d95f4bc70 100644 --- a/sunrpc/svc_udp.c +++ b/sunrpc/svc_udp.c @@ -112,7 +112,7 @@ svcudp_bufcreate (sock, sendsz, recvsz) SVCXPRT *xprt; struct svcudp_data *su; struct sockaddr_in addr; - size_t len = sizeof (struct sockaddr_in); + socklen_t len = sizeof (struct sockaddr_in); if (sock == RPC_ANYSOCK) { @@ -192,11 +192,11 @@ svcudp_recv (xprt, msg) int rlen; char *reply; u_long replylen; - size_t len; + socklen_t len; again: /* FIXME -- should xp_addrlen be a size_t? */ - len = sizeof(struct sockaddr_in); + len = (socklen_t) sizeof(struct sockaddr_in); rlen = recvfrom (xprt->xp_sock, rpc_buffer (xprt), (int) su->su_iosz, 0, (struct sockaddr *) &(xprt->xp_raddr), &len); xprt->xp_addrlen = len; |