From f89bd0e52f765a01be8628f54f5ce3d401bc5d0f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 20 Apr 2002 17:21:26 +0000 Subject: Update. 2002-04-12 H.J. Lu * sunrpc/clnt_raw.c (clntraw_create): Properly set xdrs and client. --- sunrpc/clnt_raw.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sunrpc') diff --git a/sunrpc/clnt_raw.c b/sunrpc/clnt_raw.c index 5b1fb4b74a..110141fcc8 100644 --- a/sunrpc/clnt_raw.c +++ b/sunrpc/clnt_raw.c @@ -92,8 +92,8 @@ clntraw_create (u_long prog, u_long vers) { struct clntraw_private_s *clp = clntraw_private; struct rpc_msg call_msg; - XDR *xdrs = &clp->xdr_stream; - CLIENT *client = &clp->client_object; + XDR *xdrs; + CLIENT *client; if (clp == 0) { @@ -102,6 +102,8 @@ clntraw_create (u_long prog, u_long vers) return (0); clntraw_private = clp; } + xdrs = &clp->xdr_stream; + client = &clp->client_object; /* * pre-serialize the static part of the call msg and stash it away */ -- cgit v1.2.3