From d6f6ffa1664b0f39aa95973ff97f9995f51ff62d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 3 Aug 1999 17:22:13 +0000 Subject: Update. 1999-08-02 Thorsten Kukuk * 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 * 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. --- sunrpc/clnt_udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sunrpc/clnt_udp.c') 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))) -- cgit v1.2.3