Make this part identical with NetBSD: Use recvlen instead of inlen.

No functionality change.

Obtained from:	NetBSD
This commit is contained in:
Martin Blapp 2003-10-29 09:25:07 +00:00
parent b6c452a8fd
commit f4a180cc7b

View File

@ -486,7 +486,7 @@ clnt_dg_call(cl, proc, xargs, argsp, xresults, resultsp, utimeout)
* now decode and validate the response
*/
xdrmem_create(&reply_xdrs, cu->cu_inbuf, (u_int)inlen, XDR_DECODE);
xdrmem_create(&reply_xdrs, cu->cu_inbuf, (u_int)recvlen, XDR_DECODE);
ok = xdr_replymsg(&reply_xdrs, &reply_msg);
/* XDR_DESTROY(&reply_xdrs); save a few cycles on noop destroy */
if (ok) {