summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-10-29 09:25:07 +0000
committermbr <mbr@FreeBSD.org>2003-10-29 09:25:07 +0000
commita387522971631afffb7183568409a6c77984d610 (patch)
tree5415fa43398a25f816f1859d0b17c32a08e038d8 /lib
parentc2a099bee63bf848b14d275c3d1f7ec62cbd0846 (diff)
downloadFreeBSD-src-a387522971631afffb7183568409a6c77984d610.zip
FreeBSD-src-a387522971631afffb7183568409a6c77984d610.tar.gz
Make this part identical with NetBSD: Use recvlen instead of inlen.
No functionality change. Obtained from: NetBSD
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/rpc/clnt_dg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/clnt_dg.c b/lib/libc/rpc/clnt_dg.c
index 930116d..8b98c47 100644
--- a/lib/libc/rpc/clnt_dg.c
+++ b/lib/libc/rpc/clnt_dg.c
@@ -486,7 +486,7 @@ get_reply:
* 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) {
OpenPOWER on IntegriCloud