summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-04-12 01:09:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:19 -0500
commita6fa4b4e56fbd825c7b195933c9da2afced5d39d (patch)
tree70b292ed627b86705c004b9cfa4ab3d3b2ed7c31 /source3
parenta78ef28b62f8d8abd93ea40905d2768ccc342904 (diff)
downloadsamba-a6fa4b4e56fbd825c7b195933c9da2afced5d39d.tar.gz
samba-a6fa4b4e56fbd825c7b195933c9da2afced5d39d.tar.bz2
samba-a6fa4b4e56fbd825c7b195933c9da2afced5d39d.zip
r22181: Fix for EISCON in open_any_socket_out from William Jojo
for bug #3632. Jeremy. (This used to be commit 7979a5a350739150a9c7077f2c35d9512d8596e4)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_sock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 2ddce70fbb..46bb709521 100644
--- a/source3/lib/util_sock.c
+++ b/source3/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. */