summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-10 17:55:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-10 17:55:37 +0000
commit9608e938f8c03b901be1850ffcaa1d16d42bf017 (patch)
treeca6f9874b49c4033e3556985df23887c89d92ecf
parentae190f7be0e00baf53fd2c3ec83b0601cb0fb4b5 (diff)
delete operation not needed; from naddy
-rw-r--r--usr.sbin/ntpd/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/server.c b/usr.sbin/ntpd/server.c
index 56fe4d5522b..dd2c966dee8 100644
--- a/usr.sbin/ntpd/server.c
+++ b/usr.sbin/ntpd/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.33 2008/11/10 16:59:33 deraadt Exp $ */
+/* $OpenBSD: server.c,v 1.34 2008/11/10 17:55:36 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -108,7 +108,6 @@ setup_listeners(struct servent *se, struct ntpd_conf *lconf, u_int *cnt)
log_warn("bind on %s failed, skipping",
log_sockaddr((struct sockaddr *)&la->sa));
close(la->fd);
- la->fd = -1;
nla = TAILQ_NEXT(la, entry);
TAILQ_REMOVE(&lconf->listen_addrs, la, entry);
free(la);