diff options
Diffstat (limited to 'src/sysdeps/tryipv6.c')
| -rw-r--r-- | src/sysdeps/tryipv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdeps/tryipv6.c b/src/sysdeps/tryipv6.c index a1db92e..d7e073e 100644 --- a/src/sysdeps/tryipv6.c +++ b/src/sysdeps/tryipv6.c @@ -22,7 +22,7 @@ int main (void) s = socket(AF_INET6, SOCK_STREAM, 0) ; if (s < 0) return 111 ; do r = connect(s, (struct sockaddr *)&bar, sizeof bar) ; - while ((r == -1) && (errno == EINTR)) ; - if ((r == -1) && (errno == EALREADY)) errno = EINPROGRESS ; + while (r == -1 && errno == EINTR) ; + if (r == -1 && errno == EALREADY) errno = EINPROGRESS ; return 0 ; } |
