The callrpc call to unmonitor hosts was passing the wrong xdr

decode/encode functions for the arguments to the statd unmonitor
call.  Fix it.
This commit is contained in:
alfred 2004-02-17 00:13:59 +00:00
parent b062e467c5
commit 95ad51e15b

View File

@ -2099,8 +2099,8 @@ unmonitor_lock_host(char *hostname)
smon_id.my_id.my_proc = NLM_SM_NOTIFY;
rpcret = callrpc("localhost", SM_PROG, SM_VERS, SM_UNMON,
(xdrproc_t)xdr_mon, &smon_id,
(xdrproc_t)xdr_sm_stat_res, &smstat);
(xdrproc_t)xdr_mon_id, &smon_id,
(xdrproc_t)xdr_sm_stat, &smstat);
if (rpcret != 0) {
debuglog("Rpc call to unmonitor statd failed with "