]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ftp: remove conn->data leftover
authorDaniel Stenberg <daniel@haxx.se>
Wed, 20 Jan 2021 08:30:10 +0000 (09:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 20 Jan 2021 13:59:17 +0000 (14:59 +0100)
lib/ftp.c

index 9014ae4d409dced1e8e4dc38290cd0d7622e1d3e..29566fb2f7ba8d13b01d4b1daff9a266ed8b06dd 100644 (file)
--- 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