diff options
author | dim <dim@FreeBSD.org> | 2011-12-16 21:57:44 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2011-12-16 21:57:44 +0000 |
commit | ca3809987c8b011d422ebb5ab09c96ca7fbbbf8a (patch) | |
tree | 892dfdcc6bf82341b29c082fba554ebe207a15dd /libexec/ypxfr/ypxfr_main.c | |
parent | cecb0df44ace82dde5b1eef441bb02fb5459aeb4 (diff) | |
download | FreeBSD-src-ca3809987c8b011d422ebb5ab09c96ca7fbbbf8a.zip FreeBSD-src-ca3809987c8b011d422ebb5ab09c96ca7fbbbf8a.tar.gz |
Revert r228592, as the non-messy way of fixing ypxfr breaks other yp
programs (e.g. usr.sbin/rpc.yppasswdd).
Spotted by: np
MFC after: 1 week
Diffstat (limited to 'libexec/ypxfr/ypxfr_main.c')
-rw-r--r-- | libexec/ypxfr/ypxfr_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ypxfr/ypxfr_main.c b/libexec/ypxfr/ypxfr_main.c index 7e4e243..f6b478a 100644 --- a/libexec/ypxfr/ypxfr_main.c +++ b/libexec/ypxfr/ypxfr_main.c @@ -88,7 +88,7 @@ ypxfr_exit(ypxfrstat retval, char *temp) exit(1); } - ypxfr_resp.status = (yppush_status)retval; + ypxfr_resp.status = retval; if (yppushproc_xfrresp_1(&ypxfr_resp, clnt) == NULL) { yp_error("%s", clnt_sperror(clnt, "callback failed")); |