From bf3ecca24ba6c456670a11ca7dc0ef82cf63a492 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Wed, 30 Mar 2016 03:36:04 -0500 Subject: [PATCH] ircd/listener: un-obsoleteify comments --- ircd/listener.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ircd/listener.c b/ircd/listener.c index 6038a2d8..fda86f96 100644 --- a/ircd/listener.c +++ b/ircd/listener.c @@ -223,6 +223,8 @@ inetport(struct Listener *listener) /* * XXX - we don't want to do all this crap for a listener * set_sock_opts(listener); + * + * FIXME - doesn't this belong in librb? --Elizafox */ if(setsockopt(rb_get_fd(F), SOL_SOCKET, SO_REUSEADDR, (char *) &opt, sizeof(opt))) { @@ -236,11 +238,7 @@ inetport(struct Listener *listener) return 0; } - /* - * Bind a port to listen for new connections if port is non-null, - * else assume it is already open and try get something from it. - */ - + /* FIXME - doesn't this belong in librb? --Elizafox */ if(bind(rb_get_fd(F), (struct sockaddr *) &listener->addr, GET_SS_LEN(&listener->addr))) { errstr = strerror(rb_get_sockerr(F));