fix compiler warning
[deb_libnfs.git] / lib / libnfs-zdr.c
index 58726188b177726e2b41aa1ef79cf477b86a9e3d..a159632b989e047cb06e622ffb93ab1d98884414 100644 (file)
@@ -286,7 +286,7 @@ static bool_t libnfs_opaque_auth(ZDR *zdrs, struct opaque_auth *auth)
                return FALSE;
        }
 
-       if (!libnfs_zdr_bytes(zdrs, &auth->oa_base, &auth->oa_length, &auth->oa_length)) {
+       if (!libnfs_zdr_bytes(zdrs, &auth->oa_base, &auth->oa_length, auth->oa_length)) {
                return FALSE;
        }
 
@@ -318,6 +318,8 @@ static bool_t libnfs_rpc_call_body(ZDR *zdrs, struct call_body *cmb)
        if (!libnfs_opaque_auth(zdrs, &cmb->cb_verf)) {
                return FALSE;
        }
+
+       return TRUE;
 }
 
 static bool_t libnfs_accepted_reply(ZDR *zdrs, struct accepted_reply *ar)