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

This commit is contained in:
Patrick Monnerat 2014-12-18 11:05:18 +01:00
parent 14c3601583
commit a390329f60
1 changed files with 1 additions and 1 deletions

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