summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/sockets/unix_gc/unix_gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/sockets/unix_gc/unix_gc.c b/tools/regression/sockets/unix_gc/unix_gc.c
index 347e501..a60aa85 100644
--- a/tools/regression/sockets/unix_gc/unix_gc.c
+++ b/tools/regression/sockets/unix_gc/unix_gc.c
@@ -160,7 +160,7 @@ static void
my_connect(int sock, struct sockaddr *sa, socklen_t len)
{
- if (connect(sock, sa, len) < 0)
+ if (connect(sock, sa, len) < 0 && errno != EINPROGRESS)
err(-1, "%s: connect", test);
}
OpenPOWER on IntegriCloud