Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/blacklist/lib remove listen
details: https://anonhg.NetBSD.org/src/rev/28977204701a
branches: trunk
changeset: 335725:28977204701a
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 22 05:41:08 2015 +0000
description:
remove listen
diffstat:
external/bsd/blacklist/lib/bl.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r 1ef05d17228e -r 28977204701a external/bsd/blacklist/lib/bl.c
--- a/external/bsd/blacklist/lib/bl.c Thu Jan 22 05:40:34 2015 +0000
+++ b/external/bsd/blacklist/lib/bl.c Thu Jan 22 05:41:08 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bl.c,v 1.15 2015/01/22 05:35:55 christos Exp $ */
+/* $NetBSD: bl.c,v 1.16 2015/01/22 05:41:08 christos Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: bl.c,v 1.15 2015/01/22 05:35:55 christos Exp $");
+__RCSID("$NetBSD: bl.c,v 1.16 2015/01/22 05:41:08 christos Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -170,14 +170,6 @@
}
#endif
-#ifdef notdef
- if (srv)
- if (listen(b->b_fd, 5) == -1) {
- (*b->b_fun)(LOG_ERR, "%s: listen failed (%m)",
- __func__);
- goto out;
- }
-#endif
return 0;
out:
bl_reset(b);
Home |
Main Index |
Thread Index |
Old Index