diff options
Diffstat (limited to 'src/common/socket.c')
-rw-r--r-- | src/common/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.c b/src/common/socket.c index 6589978bb..c03240739 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -282,7 +282,7 @@ static int connect_client(int listen_fd) ShowError("accept failed (code %i)!\n", s_errno); return -1; } - + if(fd_max<=fd) fd_max=fd+1; setsocketopts(fd); |