diff options
-rw-r--r-- | usr.sbin/ypserv/yppush/yppush_proc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/yppush/yppush_proc.c b/usr.sbin/ypserv/yppush/yppush_proc.c index b1ce673c770..496723bce65 100644 --- a/usr.sbin/ypserv/yppush/yppush_proc.c +++ b/usr.sbin/ypserv/yppush/yppush_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yppush_proc.c,v 1.2 1996/05/30 09:53:21 deraadt Exp $ */ +/* $OpenBSD: yppush_proc.c,v 1.3 1997/08/21 12:52:08 maja Exp $ */ /* * Copyright (c) 1996 Mats O Jansson <moj@stacken.kth.se> @@ -32,12 +32,14 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: yppush_proc.c,v 1.2 1996/05/30 09:53:21 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: yppush_proc.c,v 1.3 1997/08/21 12:52:08 maja Exp $"; #endif /* not lint */ #include <stdio.h> #include "yppush.h" +extern int Verbose; + void * yppushproc_null_1_svc(argp, rqstp) void *argp; @@ -63,7 +65,7 @@ yppushproc_xfrresp_1_svc(argp, rqstp) /* * insert server code here */ - if (argp->status!=YPPUSH_SUCC) + if ((argp->status<YPPUSH_SUCC) || Verbose) fprintf(stderr,"yppush: %s\n", yppush_err_string(argp->status)); |