]> git.saurik.com Git - apple/libinfo.git/blobdiff - rpc.subproj/pmap_rmt.c
Libinfo-449.1.3.tar.gz
[apple/libinfo.git] / rpc.subproj / pmap_rmt.c
index 16819b629e68d62e91111323f7021b308a950ea6..a35084f4ec7c9e04e13b8f799ad73f0f9bf863b6 100644 (file)
@@ -153,7 +153,7 @@ xdr_rmtcall_args(xdrs, cap)
                if (! xdr_u_long(xdrs, &(cap->arglen)))
                    return (FALSE);
                argposition = XDR_GETPOS(xdrs);
-               if (! (*(cap->xdr_args))(xdrs, cap->args_ptr))
+               if (! (*(cap->xdr_args))(xdrs, cap->args_ptr, 0))
                    return (FALSE);
                position = XDR_GETPOS(xdrs);
 #ifdef __LP64__
@@ -185,12 +185,12 @@ xdr_rmtcallres(xdrs, crp)
 #ifdef __LP64__
        if (xdr_reference(xdrs, &port_ptr, sizeof (uint32_t), (xdrproc_t)xdr_u_long) && xdr_u_long(xdrs, &crp->resultslen)) {
                crp->port_ptr = (unsigned int *)port_ptr;
-               return ((*(crp->xdr_results))(xdrs, crp->results_ptr));
+               return ((*(crp->xdr_results))(xdrs, crp->results_ptr, 0));
        }
 #else
        if (xdr_reference(xdrs, &port_ptr, sizeof (u_long), (xdrproc_t)xdr_u_long) && xdr_u_long(xdrs, &crp->resultslen)) {
                crp->port_ptr = (unsigned long *)port_ptr;
-               return ((*(crp->xdr_results))(xdrs, crp->results_ptr));
+               return ((*(crp->xdr_results))(xdrs, crp->results_ptr, 0));
        }
 #endif
        return (FALSE);
@@ -444,7 +444,7 @@ clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult)
                xdrs->x_op = XDR_FREE;
                msg.acpted_rply.ar_results.proc = (xdrproc_t)xdr_void;
                (void)xdr_replymsg(xdrs, &msg);
-               (void)(*xresults)(xdrs, resultsp);
+               (void)(*xresults)(xdrs, resultsp, 0);
                xdr_destroy(xdrs);
                if (done) {
                        stat = RPC_SUCCESS;