]> git.saurik.com Git - apple/libinfo.git/blobdiff - rpc.subproj/rpc_prot.c
Libinfo-517.30.1.tar.gz
[apple/libinfo.git] / rpc.subproj / rpc_prot.c
index 0299d1d2772d90fee097d1fcacfce9ec1aaf0b9c..df402b953a81558548ce21dd85bf024aaba64af4 100644 (file)
@@ -125,7 +125,7 @@ xdr_accepted_reply(xdrs, ar)
        switch (ar->ar_stat) {
 
        case SUCCESS:
-               return ((*(ar->ar_results.proc))(xdrs, ar->ar_results.where));
+               return ((*(ar->ar_results.proc))(xdrs, ar->ar_results.where, 0));
 
        case PROG_MISMATCH:
                if (! xdr_u_long(xdrs, &(ar->ar_vers.low)))
@@ -260,7 +260,7 @@ rejected(rjct_stat, error)
 
        switch (rjct_stat) {
 
-       case RPC_VERSMISMATCH:
+       case RPC_MISMATCH:
                error->re_status = RPC_VERSMISMATCH;
                return;