mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 13:13:43 +08:00
(clntraw_create): Properly set xdrs and client.
This commit is contained in:
parent
cf27aecd19
commit
d1e467ab58
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user