From c5bf99a1c27d4f0223558f68012a490069dbc76f Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 6 May 2004 21:29:36 +0000 Subject: [PATCH] Correct a typo. --- socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socket.c b/socket.c index 0f473914..88ef93ec 100644 --- a/socket.c +++ b/socket.c @@ -373,7 +373,7 @@ static int *open_socket_in(int type, int port, const char *bind_address, #ifdef IPV6_V6ONLY if (resp->ai_family == AF_INET6) { setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, - (char *)&one, sizeof one) < 0; + (char *)&one, sizeof one); } #endif -- 2.34.1