2002-04-12  H.J. Lu  <hjl@gnu.org>

	* sunrpc/clnt_raw.c (clntraw_create): Properly set xdrs and client.
This commit is contained in:
Ulrich Drepper 2002-04-20 17:21:26 +00:00
parent 02779eaafe
commit f89bd0e52f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-04-12 H.J. Lu <hjl@gnu.org>
* sunrpc/clnt_raw.c (clntraw_create): Properly set xdrs and client.
2002-04-18 Bruno Haible <bruno@clisp.org>
* iconvdata/euc-jisx0213.c (EMIT_SHIFT_TO_INIT, BODY for

View File

@ -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
*/