Skip to content
Snippets Groups Projects
Commit 8693afdf authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Stop using in6addr_any because it's not available everywhere (e.g. Symbian)

and isn't strictly needed here.
parent a876161e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment