From: Ulrich Drepper Date: Wed, 1 Apr 1998 12:01:19 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/libc-ud-980427~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c66860c91fa449175a4a81f1244847060fd684c;p=thirdparty%2Fglibc.git Update. 1998-04-01 Thorsten Kukuk * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if we only wait for a replay. --- diff --git a/ChangeLog b/ChangeLog index 918d1463c34..91501478110 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1998-04-01 Thorsten Kukuk + + * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if + we only wait for a replay. + 1998-04-01 Ulrich Drepper * iconvdata/Makefile: Finally fix dependencies for JOHAB and diff --git a/sunrpc/clnt_udp.c b/sunrpc/clnt_udp.c index a0164f01f6c..3ce124f5d7e 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;