mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
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.
This commit is contained in:
@ -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)))
|
||||
|
Reference in New Issue
Block a user