summaryrefslogtreecommitdiff
path: root/relay
diff options
context:
space:
mode:
authorShane Kerr <shane@isc.org>2006-05-11 14:48:59 +0000
committerShane Kerr <shane@isc.org>2006-05-11 14:48:59 +0000
commit509df655d1e4497a8b8c124bda277a541f9f4508 (patch)
treeb58830d65fd62abdaf8360b1fcaa7771d1387d74 /relay
parent3a16098f0b0e1633dc23d76bc84068995fd65f67 (diff)
downloadisc-dhcp-509df655d1e4497a8b8c124bda277a541f9f4508.tar.gz
Merging in final change from rt15937, getting rid of space
before () in function calls.
Diffstat (limited to 'relay')
-rw-r--r--relay/dhcrelay.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c
index c85758e2..859fcf0f 100644
--- a/relay/dhcrelay.c
+++ b/relay/dhcrelay.c
@@ -34,7 +34,7 @@
#ifndef lint
static char ocopyright[] =
-"$Id: dhcrelay.c,v 1.57 2006/05/05 20:32:30 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.58 2006/05/11 14:48:59 shane Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -114,15 +114,15 @@ int main (argc, argv, envp)
/* Make sure that file descriptors 0 (stdin), 1, (stdout), and
2 (stderr) are open. To do this, we assume that when we
open a file the lowest available file decriptor is used. */
- fd = open ("/dev/null", O_RDWR);
+ fd = open("/dev/null", O_RDWR);
if (fd == 0)
- fd = open ("/dev/null", O_RDWR);
+ fd = open("/dev/null", O_RDWR);
if (fd == 1)
- fd = open ("/dev/null", O_RDWR);
+ fd = open("/dev/null", O_RDWR);
if (fd == 2)
log_perror = 0; /* No sense logging to /dev/null. */
else if (fd != -1)
- close (fd);
+ close(fd);
#ifdef SYSLOG_4_2
openlog ("dhcrelay", LOG_NDELAY);