aboutgitcodebugslistschat
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/util.c b/util.c
index ed874f1..0aa4d42 100644
--- a/util.c
+++ b/util.c
@@ -169,13 +169,6 @@ static int sock_l4_(const struct ctx *c, enum epoll_type type,
}
}
- if (type == EPOLL_TYPE_TCP_LISTEN && listen(fd, 128) < 0) {
- ret = -errno;
- warn("TCP socket listen: %s", strerror_(-ret));
- close(fd);
- return ret;
- }
-
return fd;
}