1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121654

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) {