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
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);