From a387522971631afffb7183568409a6c77984d610 Mon Sep 17 00:00:00 2001 From: mbr Date: Wed, 29 Oct 2003 09:25:07 +0000 Subject: Make this part identical with NetBSD: Use recvlen instead of inlen. No functionality change. Obtained from: NetBSD --- lib/libc/rpc/clnt_dg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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) { -- cgit v1.1