From f564905ac496380901f95850668aca1d9b1d9c15 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 25 Apr 2002 19:26:29 +0000 Subject: adjusted to the new Curl_resolv() proto --- lib/ftp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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); -- cgit v1.2.3