diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshd.c,v 1.397 2013/02/11 21:21:58 dtucker Exp $ */ | 1 | /* $OpenBSD: sshd.c,v 1.398 2013/04/06 16:07:00 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1183,8 +1183,8 @@ server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) | |||
1183 | *newsock = accept(listen_socks[i], | 1183 | *newsock = accept(listen_socks[i], |
1184 | (struct sockaddr *)&from, &fromlen); | 1184 | (struct sockaddr *)&from, &fromlen); |
1185 | if (*newsock < 0) { | 1185 | if (*newsock < 0) { |
1186 | if (errno != EINTR && errno != EAGAIN && | 1186 | if (errno != EINTR && errno != EWOULDBLOCK && |
1187 | errno != EWOULDBLOCK) | 1187 | errno != ECONNABORTED && errno != EAGAIN) |
1188 | error("accept: %.100s", | 1188 | error("accept: %.100s", |
1189 | strerror(errno)); | 1189 | strerror(errno)); |
1190 | if (errno == EMFILE || errno == ENFILE) | 1190 | if (errno == EMFILE || errno == ENFILE) |