ftp: use 'conn' instead of 'data->conn'

In the ftp_state_use_port function, as we already use that local
variable for all other conn accesses.

Closes #18304
This commit is contained in:
Daniel Stenberg 2025-08-18 09:32:21 +02:00
parent 435069fcd9
commit e440686034
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -1256,7 +1256,7 @@ out:
!Curl_conn_is_ssl(conn, SECONDARYSOCKET)) {
result = Curl_ssl_cfilter_add(data, conn, SECONDARYSOCKET);
}
data->conn->bits.do_more = FALSE;
conn->bits.do_more = FALSE;
Curl_pgrsTime(data, TIMER_STARTACCEPT);
Curl_expire(data, (data->set.accepttimeout > 0) ?
data->set.accepttimeout: DEFAULT_ACCEPT_TIMEOUT,