version 1.11, 2001/02/17 16:52:23 |
version 1.12, 2001/06/18 22:19:04 |
|
|
if (clnt_call(rusers_clnt, RUSERSPROC_NAMES, xdr_void, NULL, |
if (clnt_call(rusers_clnt, RUSERSPROC_NAMES, xdr_void, NULL, |
xdr_utmpidlearr, &up, timeout) != RPC_SUCCESS) { |
xdr_utmpidlearr, &up, timeout) != RPC_SUCCESS) { |
clnt_perror(rusers_clnt, __progname); |
clnt_perror(rusers_clnt, __progname); |
|
clnt_destroy(rusers_clnt); |
exit(1); |
exit(1); |
} |
} |
addr.sin_addr.s_addr = *(int *)hp->h_addr; |
addr.sin_addr.s_addr = *(int *)hp->h_addr; |
rusers_reply((char *)&up, &addr); |
rusers_reply((char *)&up, &addr); |
|
clnt_destroy(rusers_clnt); |
} |
} |
|
|
void |
void |