diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1096,7 +1096,8 @@ server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) | |||
1096 | *newsock = accept(listen_socks[i], | 1096 | *newsock = accept(listen_socks[i], |
1097 | (struct sockaddr *)&from, &fromlen); | 1097 | (struct sockaddr *)&from, &fromlen); |
1098 | if (*newsock < 0) { | 1098 | if (*newsock < 0) { |
1099 | if (errno != EINTR && errno != EWOULDBLOCK) | 1099 | if (errno != EINTR && errno != EAGAIN && |
1100 | errno != EWOULDBLOCK) | ||
1100 | error("accept: %.100s", strerror(errno)); | 1101 | error("accept: %.100s", strerror(errno)); |
1101 | continue; | 1102 | continue; |
1102 | } | 1103 | } |