summaryrefslogtreecommitdiff
path: root/lib/ftp.c
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 14:59:17 +0100
commitba4808d53ce062863b36be580ffc41d3495b32ee (patch)
treea3a3fe42e225be03cbe826cb54d217173101192a /lib/ftp.c
parent56d1891db6d8056a70f1b7bf437b1ba387cbc079 (diff)
downloadcurl-ba4808d53ce062863b36be580ffc41d3495b32ee.tar.gz
ftp: remove conn->data leftover
Diffstat (limited to 'lib/ftp.c')
-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