diff options
Diffstat (limited to 'tools/regression/sockets/unix_gc/unix_gc.c')
-rw-r--r-- | tools/regression/sockets/unix_gc/unix_gc.c | 2 |
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); } |