diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-04-25 19:26:29 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-04-25 19:26:29 +0000 |
commit | f564905ac496380901f95850668aca1d9b1d9c15 (patch) | |
tree | 0ae1e996c1136d0e9ca2eeb696d091f2f46a0b44 /lib | |
parent | 00e4f814467d42dabc6eef19289b6dcc8b34900e (diff) |
adjusted to the new Curl_resolv() proto
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |