From f9d553adf57cd6ea978d38d79dd1a45d90ee08fa Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Mon, 10 May 1999 20:55:29 +0000 Subject: [PATCH] Fix ypxfr so that it can be run from cron. Patch submitted by: Dan Nelson --- libexec/ypxfr/ypxfr_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libexec/ypxfr/ypxfr_main.c b/libexec/ypxfr/ypxfr_main.c index d2a9f85da5f..1f3076fa628 100644 --- a/libexec/ypxfr/ypxfr_main.c +++ b/libexec/ypxfr/ypxfr_main.c @@ -32,7 +32,7 @@ #ifndef lint static const char rcsid[] = - "$Id: ypxfr_main.c,v 1.11 1997/12/08 07:49:54 charnier Exp $"; + "$Id: ypxfr_main.c,v 1.12 1998/08/02 16:44:18 bde Exp $"; #endif /* not lint */ #include @@ -81,14 +81,14 @@ static void ypxfr_exit(retval, temp) } } - if (_rpcpmstart) { + if (ypxfr_prognum) { timeout.tv_sec = 20; timeout.tv_usec = 0; if ((clnt = clntudp_create(&ypxfr_callback_addr, ypxfr_prognum, 1, timeout, &sock)) == NULL) { - yp_error("%s", clnt_spcreateerror("failed to \ -establish callback handle")); + yp_error("%s", clnt_spcreateerror("failed to " + "establish callback handle")); exit(1); }