about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-01 12:01:19 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-01 12:01:19 +0000
commit4c66860c91fa449175a4a81f1244847060fd684c (patch)
tree9cd47e1186d0858442f61f1765fd17150b6243e7
parente784ad6a4d6348585e0773d5ff7f28bd93bce3ea (diff)
downloadglibc-4c66860c91fa449175a4a81f1244847060fd684c.tar.gz
glibc-4c66860c91fa449175a4a81f1244847060fd684c.tar.xz
glibc-4c66860c91fa449175a4a81f1244847060fd684c.zip
Update.
1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

	* sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
	we only wait for a replay.
-rw-r--r--ChangeLog5
-rw-r--r--sunrpc/clnt_udp.c8
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 918d1463c3..9150147811 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
+
+	* sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
+	we only wait for a replay.
+
 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
 
 	* iconvdata/Makefile: Finally fix dependencies for JOHAB and
diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c
index a0164f01f6..3ce124f5d7 100644
--- a/sunrpc/clnt_udp.c
+++ b/sunrpc/clnt_udp.c
@@ -356,8 +356,12 @@ send_again:
 	}
       if (inlen < 4)
 	continue;
-      /* see if reply transaction id matches sent id */
-      if (*((u_int32_t *) (cu->cu_inbuf)) != *((u_int32_t *) (cu->cu_outbuf)))
+
+      /* see if reply transaction id matches sent id.
+        Don't do this if we only wait for a replay */
+      if (xargs != NULL
+	  && (*((u_int32_t *) (cu->cu_inbuf))
+	      != *((u_int32_t *) (cu->cu_outbuf))))
 	continue;
       /* we now assume we have the proper reply */
       break;