]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sunrpc/pmap_rmt.c
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
[thirdparty/glibc.git] / sunrpc / pmap_rmt.c
index e06884891991320a069263e10b917017a9d83193..644d503a1fdebd0d318e09f6519688a4ea39599e 100644 (file)
@@ -125,9 +125,8 @@ 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, &dummy_arglen))
+      if (!INTUSE(xdr_u_long) (xdrs, &(cap->arglen)))
        return FALSE;
       argposition = XDR_GETPOS (xdrs);
       if (!(*(cap->xdr_args)) (xdrs, cap->args_ptr))