mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
Stop using in6addr_any because it's not available everywhere (e.g. Symbian)
and isn't strictly needed here.
This commit is contained in:
parent
a876161ef9
commit
8693afdfea
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user