From a390329f60f40484ba6bad55ba72628bc0b7352c Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Thu, 18 Dec 2014 11:05:18 +0100 Subject: if2ip: dummy scope parameter for Curl_if2ip() call in SIOCGIFADDR-enabled code. --- lib/if2ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/if2ip.c b/lib/if2ip.c index 6fc09ec63..15ea9521e 100644 --- a/lib/if2ip.c +++ b/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; } -- cgit v1.2.3