summaryrefslogtreecommitdiff
path: root/lib/hostip4.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-17 07:40:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-17 07:40:15 +0000
commit8b80ac28778ae876880a95f263bbfa2b4456a28a (patch)
tree5482546f788b1c5878b21cb2c75484420d8fbeaa /lib/hostip4.c
parent233237740d0e2e1890797ffb9bfc6c4c7ba80676 (diff)
downloadcurl-8b80ac28778ae876880a95f263bbfa2b4456a28a.tar.gz
use Curl_inet_pton(), not inet_pton().
Diffstat (limited to 'lib/hostip4.c')
-rw-r--r--lib/hostip4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip4.c b/lib/hostip4.c
index 97c42360a..a0d6d0cb9 100644
--- a/lib/hostip4.c
+++ b/lib/hostip4.c
@@ -203,7 +203,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
*waitp = 0; /* don't wait, we act synchronously */
- if(1 == inet_pton(AF_INET, hostname, &in))
+ if(1 == Curl_inet_pton(AF_INET, hostname, &in))
/* This is a dotted IP address 123.123.123.123-style */
return Curl_ip2addr(in, hostname, port);