From 486f8a0090ecb3ed6cdf4609ae8272925f30d795 Mon Sep 17 00:00:00 2001 From: Yves Rutschle Date: Sun, 8 Jan 2023 21:58:50 +0100 Subject: [PATCH] removed obsolete comments --- tcp-listener.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tcp-listener.c b/tcp-listener.c index d3059c7..c709b4f 100644 --- a/tcp-listener.c +++ b/tcp-listener.c @@ -156,13 +156,9 @@ static int connect_queue(struct connection* cnx, log_connection(NULL, cnx); flush_deferred(q); if (q->deferred_data) { - /* - FD_SET(q->fd, &fd_info->watchers->fds_w); - FD_CLR(cnx->q[0].fd, &fd_info->watchers->fds_r); */ watchers_add_write(fd_info->watchers, q->fd); watchers_del_read(fd_info->watchers, cnx->q[0].fd); } - /* FD_SET(q->fd, &fd_info->watchers->fds_r); */ watchers_add_read(fd_info->watchers, q->fd); collection_add_fd(fd_info->collection, cnx, q->fd); return q->fd;