aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-04-25 19:26:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-04-25 19:26:29 +0000
commitf564905ac496380901f95850668aca1d9b1d9c15 (patch)
tree0ae1e996c1136d0e9ca2eeb696d091f2f46a0b44
parent00e4f814467d42dabc6eef19289b6dcc8b34900e (diff)
adjusted to the new Curl_resolv() proto
-rw-r--r--lib/ftp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 71ae76842..e3e630d62 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1205,19 +1205,19 @@ CURLcode ftp_use_port(struct connectdata *conn)
if(data->set.ftpport) {
if(Curl_if2ip(data->set.ftpport, myhost, sizeof(myhost))) {
- h = Curl_resolv(data, myhost, 0, &hostdataptr);
+ h = Curl_resolv(data, myhost, 0);
}
else {
int len = strlen(data->set.ftpport);
if(len>1)
- h = Curl_resolv(data, data->set.ftpport, 0, &hostdataptr);
+ h = Curl_resolv(data, data->set.ftpport, 0);
if(h)
strcpy(myhost, data->set.ftpport); /* buffer overflow risk */
}
}
if(! *myhost) {
char *tmp_host = getmyhost(myhost, sizeof(myhost));
- h=Curl_resolv(data, tmp_host, 0, &hostdataptr);
+ h=Curl_resolv(data, tmp_host, 0);
}
infof(data, "We connect from %s\n", myhost);