diff options
author | mbr <mbr@FreeBSD.org> | 2003-10-29 09:25:07 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-10-29 09:25:07 +0000 |
commit | a387522971631afffb7183568409a6c77984d610 (patch) | |
tree | 5415fa43398a25f816f1859d0b17c32a08e038d8 /lib/libc/rpc/clnt_dg.c | |
parent | c2a099bee63bf848b14d275c3d1f7ec62cbd0846 (diff) | |
download | FreeBSD-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/libc/rpc/clnt_dg.c')
-rw-r--r-- | lib/libc/rpc/clnt_dg.c | 2 |
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) { |