diff options
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 610f9f46a5..def84bf5ae 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2912,7 +2912,8 @@ connect_again: goto connect_again; } - if (ret < 0 && (errno == EINPROGRESS || errno == EALREADY)) { + if (ret < 0 && (errno == EINPROGRESS || errno == EALREADY || + errno == EAGAIN)) { DEBUG(1,("timeout connecting to %s:%d\n",inet_ntoa(*addr),port)); close(res); return -1; |