From f4a180cc7b3787b49069ac02de81bd53d88e8621 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Wed, 29 Oct 2003 09:25:07 +0000 Subject: [PATCH] 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(-) diff --git a/lib/libc/rpc/clnt_dg.c b/lib/libc/rpc/clnt_dg.c index 930116d550a6..8b98c47a17b1 100644 --- a/lib/libc/rpc/clnt_dg.c +++ b/lib/libc/rpc/clnt_dg.c @@ -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) {