summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1997-02-06 05:28:52 +0000
committerwpaul <wpaul@FreeBSD.org>1997-02-06 05:28:52 +0000
commitbe04db9817af89fcc843c3a47023d0a334187810 (patch)
tree5eeb6673523c1551d1d62710ec118277d02b18c7 /usr.sbin/ypserv
parent95281c9f3bff1c30ce860a655b8e48c9d395b231 (diff)
downloadFreeBSD-src-be04db9817af89fcc843c3a47023d0a334187810.zip
FreeBSD-src-be04db9817af89fcc843c3a47023d0a334187810.tar.gz
Close PR# 2645: add curly braces where my fevered brain in collusion
with my frantic fingers forgot to put them.
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r--usr.sbin/ypserv/yp_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/yp_server.c b/usr.sbin/ypserv/yp_server.c
index e505b94..941cc91 100644
--- a/usr.sbin/ypserv/yp_server.c
+++ b/usr.sbin/ypserv/yp_server.c
@@ -336,8 +336,9 @@ ypproc_xfr_2_svc(ypreq_xfr *argp, struct svc_req *rqstp)
sprintf (t, "%u", argp->transid);
sprintf (g, "%u", argp->prog);
sprintf (p, "%u", argp->port);
- if (debug)
+ if (debug) {
close(0); close(1); close(2);
+ }
if (strcmp(yp_dir, _PATH_YP)) {
execl(ypxfr_command, "ypxfr",
"-d", argp->map_parms.domain,
OpenPOWER on IntegriCloud