summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-04-05 21:39:50 +0000
committerJakub Jelinek <jakub@redhat.com>2005-04-05 21:39:50 +0000
commitff44b53b529ff11f45595a02058a3949eec9a211 (patch)
tree1cb8aecf1f532ee27c8b685a36cb0d9fbed0e5d7 /sunrpc
parent8fedcc4046552f181b461995e5c5cedabfcd86e0 (diff)
Updated to fedora-glibc-20050405T2114cvs/fedora-glibc-2_3_4-21
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/pmap_rmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c
index 644d503a1f..e068848919 100644
--- a/sunrpc/pmap_rmt.c
+++ b/sunrpc/pmap_rmt.c
@@ -125,8 +125,9 @@ xdr_rmtcall_args (XDR *xdrs, struct rmtcallargs *cap)
INTUSE(xdr_u_long) (xdrs, &(cap->vers)) &&
INTUSE(xdr_u_long) (xdrs, &(cap->proc)))
{
+ u_long dummy_arglen = 0;
lenposition = XDR_GETPOS (xdrs);
- if (!INTUSE(xdr_u_long) (xdrs, &(cap->arglen)))
+ if (!INTUSE(xdr_u_long) (xdrs, &dummy_arglen))
return FALSE;
argposition = XDR_GETPOS (xdrs);
if (!(*(cap->xdr_args)) (xdrs, cap->args_ptr))