diff --git a/src/piler-smtp.c b/src/piler-smtp.c index 74a9a085..fb902e42 100644 --- a/src/piler-smtp.c +++ b/src/piler-smtp.c @@ -358,6 +358,10 @@ int main(int argc, char **argv){ exit(1); } + if(make_socket_non_blocking(listenerfd) == -1){ + fatal("make_socket_non_blocking()"); + } + if(listen(listenerfd, cfg.backlog) == -1){ fatal("ERROR: listen()"); }