aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.c
diff options
context:
space:
mode:
authorPatrick Monnerat <pm@datasphere.ch>2014-12-18 11:05:18 +0100
committerPatrick Monnerat <pm@datasphere.ch>2014-12-18 11:05:18 +0100
commita390329f60f40484ba6bad55ba72628bc0b7352c (patch)
tree03255592519e81898e9fe0b91470b0629d59d8b6 /lib/if2ip.c
parent14c3601583bfe171a33971115220378d5076e3b8 (diff)
if2ip: dummy scope parameter for Curl_if2ip() call in SIOCGIFADDR-enabled code.
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r--lib/if2ip.c2
1 files changed, 1 insertions, 1 deletions
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;
}