aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/if2ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index a54050040..72fd0281f 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -85,7 +85,7 @@ char *Curl_if2ip(int af, const char *interface, char *buf, int buf_size)
} else
addr = &((struct sockaddr_in *)iface->ifa_addr)->sin_addr;
ip = (char *) Curl_inet_ntop(af, addr, buf, buf_size);
- Curl_strlcat(buf, scope, buf_size);
+ strlcat(buf, scope, buf_size);
break;
}
}