diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-10-24 18:59:51 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-10-24 18:59:51 +0000 |
commit | 8693afdfea8eddc51c86f7bc93d1b9c1887276bc (patch) | |
tree | e909203d35e06da85ba02099d50a6ce1260ddeda /lib | |
parent | a876161ef9297f32a1e0f2301c76421fe377b89e (diff) |
Stop using in6addr_any because it's not available everywhere (e.g. Symbian)
and isn't strictly needed here.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connect.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |