summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-20 09:30:10 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-20 09:30:10 +0100
commit3b4c51913fb8b72ad8cf3893d504ff1dd0d82d44 (patch)
treea3a3fe42e225be03cbe826cb54d217173101192a
parent379511bf523a3a1d235f62ef254bc16e25ea9fea (diff)
downloadcurl-bagder/curl_range-data-conn.tar.gz
ftp: remove conn->data leftoverbagder/curl_range-data-conn
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 9014ae4d4..29566fb2f 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -830,7 +830,7 @@ static int ftp_domore_getsock(struct Curl_easy *data,
connect on the secondary connection */
socks[0] = conn->sock[FIRSTSOCKET];
- if(!conn->data->set.ftp_use_port) {
+ if(!data->set.ftp_use_port) {
int s;
int i;
/* PORT is used to tell the server to connect to us, and during that we