Browse Source

if2ip: dummy scope parameter for Curl_if2ip() call in SIOCGIFADDR-enabled code.

Patrick Monnerat 9 years ago
parent
commit
a390329f60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/if2ip.c

+ 1 - 1
lib/if2ip.c

@@ -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;
 }