]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r22181: Fix for EISCON in open_any_socket_out from William Jojo
authorJeremy Allison <jra@samba.org>
Thu, 12 Apr 2007 01:09:19 +0000 (01:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:19 +0000 (12:19 -0500)
for bug #3632.
Jeremy.

source/lib/util_sock.c

index 2ddce70fbb5eba38a51a123eeabd45033b74489f..46bb70952165127a331a7d960e58ef7db3e7a5a7 100644 (file)
@@ -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. */