summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-10-29 09:25:07 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-10-29 09:25:07 +0000
commitf4a180cc7b3787b49069ac02de81bd53d88e8621 (patch)
tree5415fa43398a25f816f1859d0b17c32a08e038d8
parentb6c452a8fd7c5a4119f552c819e3ab211ea0f496 (diff)
Notes
-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 930116d550a6..8b98c47a17b1 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) {