]> andersk Git - openssh.git/blobdiff - sshd.c
- (djm) [atomicio.c channels.c clientloop.c defines.h includes.h]
[openssh.git] / sshd.c
diff --git a/sshd.c b/sshd.c
index c952f7ad2bb904619e55c92a5b9704ba2dc38495..a6620a05a822b356b785714eccb6a6fe3478bfa6 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -1096,7 +1096,8 @@ server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s)
                        *newsock = accept(listen_socks[i],
                            (struct sockaddr *)&from, &fromlen);
                        if (*newsock < 0) {
-                               if (errno != EINTR && errno != EWOULDBLOCK)
+                               if (errno != EINTR && errno != EAGAIN &&
+                                   errno != EWOULDBLOCK)
                                        error("accept: %.100s", strerror(errno));
                                continue;
                        }
This page took 0.043185 seconds and 4 git commands to generate.