summaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-24 23:41:58 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-24 23:41:58 +0100
commit8204826b2bdcbd25c6c16bad822045f0293021cc (patch)
treee07eaf58bced0cd81d55a3f27486c93ab8f60d48 /lib/ftp.c
parentecb13416e316fc1c781f865d2bb7e74462ef793b (diff)
downloadcurl-bagder/hostip-proxy-data-conn.tar.gz
hostip/proxy: remove conn->data usebagder/hostip-proxy-data-conn
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 6a1cf4df9..69b3f35df 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -3543,7 +3543,7 @@ static CURLcode ftp_do_more(struct Curl_easy *data, int *completep)
if(Curl_connect_ongoing(conn)) {
/* As we're in TUNNEL_CONNECT state now, we know the proxy name and port
aren't used so we blank their arguments. */
- result = Curl_proxyCONNECT(conn, SECONDARYSOCKET, NULL, 0);
+ result = Curl_proxyCONNECT(data, SECONDARYSOCKET, NULL, 0);
return result;
}
@@ -3565,7 +3565,7 @@ static CURLcode ftp_do_more(struct Curl_easy *data, int *completep)
}
#ifndef CURL_DISABLE_PROXY
- result = Curl_proxy_connect(conn, SECONDARYSOCKET);
+ result = Curl_proxy_connect(data, SECONDARYSOCKET);
if(result)
return result;