diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-08-03 17:22:13 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-08-03 17:22:13 +0000 |
commit | d6f6ffa1664b0f39aa95973ff97f9995f51ff62d (patch) | |
tree | 276775c1c7a9a9378525c54b26f29dd8e0d4462d /sunrpc/clnt_udp.c | |
parent | 4bdd64534ff87261e204570697d7f7e83af5b6cd (diff) | |
download | glibc-d6f6ffa1664b0f39aa95973ff97f9995f51ff62d.tar.gz glibc-d6f6ffa1664b0f39aa95973ff97f9995f51ff62d.tar.xz glibc-d6f6ffa1664b0f39aa95973ff97f9995f51ff62d.zip |
Update.
1999-08-02 Thorsten Kukuk <kukuk@suse.de> * nis/nis_callback.c: Fix port problem on big-endian machines * sunrpc/clnt_udp.c: Cast to uint32_t pointer, not short. RPC fields are always 32 bit. Patches from Paul Mackerras <paulus@cs.anu.edu.au> * nis/nss_nis/nis-service.c: Remove htons, port is always in network-byte-order. * nis/nss_nisplus/nisplus-service.c: Rename number to port.
Diffstat (limited to 'sunrpc/clnt_udp.c')
-rw-r--r-- | sunrpc/clnt_udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c index eeac79c3e6..0733206c9b 100644 --- a/sunrpc/clnt_udp.c +++ b/sunrpc/clnt_udp.c @@ -290,7 +290,7 @@ call_again: /* * the transaction is the first thing in the out buffer */ - (*(u_short *) (cu->cu_outbuf))++; + (*(uint32_t *) (cu->cu_outbuf))++; if ((!XDR_PUTLONG (xdrs, (long *) &proc)) || (!AUTH_MARSHALL (cl->cl_auth, xdrs)) || (!(*xargs) (xdrs, argsp))) |