From be04db9817af89fcc843c3a47023d0a334187810 Mon Sep 17 00:00:00 2001 From: wpaul Date: Thu, 6 Feb 1997 05:28:52 +0000 Subject: Close PR# 2645: add curly braces where my fevered brain in collusion with my frantic fingers forgot to put them. --- usr.sbin/ypserv/yp_server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ypserv') 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, -- cgit v1.1