summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index c952f7ad2..a6620a05a 100644
--- a/sshd.c
+++ b/sshd.c
@@ -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 }