From 8693afdfea8eddc51c86f7bc93d1b9c1887276bc Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 24 Oct 2008 18:59:51 +0000 Subject: Stop using in6addr_any because it's not available everywhere (e.g. Symbian) and isn't strictly needed here. --- lib/connect.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/connect.c b/lib/connect.c index 1f6a262c8..7fc808e86 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -422,7 +422,9 @@ static CURLcode bindlocal(struct connectdata *conn, else { /* AF_INET6 */ memset(&me6, 0, sizeof(me6)); me6.sin6_family = AF_INET6; - me6.sin6_addr = in6addr_any; + /* in6addr_any isn't always available and since me6 has just been + cleared, it's not strictly necessary to use it here */ + /*me6.sin6_addr = in6addr_any;*/ sock = (struct sockaddr *)&me6; socksize = sizeof(me6); -- cgit v1.2.3