Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
if2ip: dummy scope parameter for Curl_if2ip() call in SIOCGIFADDR-ena…
…bled code.
  • Loading branch information
Patrick Monnerat committed Dec 18, 2014
1 parent 14c3601 commit a390329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/if2ip.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit a390329

Please sign in to comment.