summaryrefslogtreecommitdiffstats
path: root/source/lib/util_sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/util_sock.c')
-rw-r--r--source/lib/util_sock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c
index 2866a443d47..94c5e82d153 100644
--- a/source/lib/util_sock.c
+++ b/source/lib/util_sock.c
@@ -974,6 +974,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. */