1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00
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.
This commit is contained in:
Ulrich Drepper
1998-04-01 12:01:19 +00:00
parent e784ad6a4d
commit 4c66860c91
2 changed files with 11 additions and 2 deletions

View File

@ -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;