]> granicus.if.org Git - curl/commitdiff
if2ip: dummy scope parameter for Curl_if2ip() call in SIOCGIFADDR-enabled code.
authorPatrick Monnerat <pm@datasphere.ch>
Thu, 18 Dec 2014 10:05:18 +0000 (11:05 +0100)
committerPatrick Monnerat <pm@datasphere.ch>
Thu, 18 Dec 2014 10:05:18 +0000 (11:05 +0100)
lib/if2ip.c

index 6fc09ec6315f4c13349ed03b45d1dc0c85200286..15ea9521eb940fcf08d2af95dedb493591a9d237 100644 (file)
@@ -191,7 +191,7 @@ bool Curl_if_is_interface_name(const char *interf)
   /* This is here just to support the old interfaces */
   char buf[256];
 
-  return (Curl_if2ip(AF_INET, 0, interf, buf, sizeof(buf)) ==
+  return (Curl_if2ip(AF_INET, 0 /* unused */, 0, interf, buf, sizeof(buf)) ==
           IF2IP_NOT_FOUND) ? FALSE : TRUE;
 }