about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-20 17:21:26 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-20 17:21:26 +0000
commitf89bd0e52f765a01be8628f54f5ce3d401bc5d0f (patch)
tree1fbe12e2413e52d1e96ba1c754cb8847d8fdb306
parent02779eaafe9065ecafa307f33ddbb8b5eac999b7 (diff)
downloadglibc-f89bd0e52f765a01be8628f54f5ce3d401bc5d0f.tar.gz
glibc-f89bd0e52f765a01be8628f54f5ce3d401bc5d0f.tar.xz
glibc-f89bd0e52f765a01be8628f54f5ce3d401bc5d0f.zip
Update.
2002-04-12  H.J. Lu  <hjl@gnu.org>

	* sunrpc/clnt_raw.c (clntraw_create): Properly set xdrs and client.
-rw-r--r--ChangeLog4
-rw-r--r--sunrpc/clnt_raw.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7426d6d709..b0a65b5612 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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
    */