From: Jeremy Allison Date: Thu, 12 Apr 2007 01:09:19 +0000 (+0000) Subject: r22181: Fix for EISCON in open_any_socket_out from William Jojo X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~726 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7979a5a350739150a9c7077f2c35d9512d8596e4;p=thirdparty%2Fsamba.git r22181: Fix for EISCON in open_any_socket_out from William Jojo for bug #3632. Jeremy. --- diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c index 2ddce70fbb5..46bb7095216 100644 --- a/source/lib/util_sock.c +++ b/source/lib/util_sock.c @@ -999,6 +999,9 @@ BOOL open_any_socket_out(struct sockaddr_in *addrs, int num_addrs, } if (errno == EINPROGRESS || errno == EALREADY || +#ifdef EISCONN + errno == EISCONN || +#endif errno == EAGAIN || errno == EINTR) { /* These are the error messages that something is progressing. */