diff options
Diffstat (limited to 'toys/other')
-rw-r--r-- | toys/other/nbd_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/nbd_client.c b/toys/other/nbd_client.c index fcd0fca8..ad3440af 100644 --- a/toys/other/nbd_client.c +++ b/toys/other/nbd_client.c @@ -52,7 +52,7 @@ void nbd_client_main(void) // Find and connect to server - sock = xconnect(xgetaddrinfo(host, port, AF_UNSPEC, SOCK_STREAM, 0, 0)); + sock = xconnectany(xgetaddrinfo(host, port, AF_UNSPEC, SOCK_STREAM, 0, 0)); temp = 1; setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &temp, sizeof(int)); |