Fix to manually incorporated Jamie's ed3cd51 change

This commit is contained in:
Ilia Ross
2026-07-14 01:57:26 +02:00
parent 9dcdca7f1f
commit a618c2b58e

View File

@@ -3837,8 +3837,8 @@ if ($gconfig{'ftp_proxy'} =~ /^http:\/\/(\S+):(\d+)/ && !&no_proxy($_[0])) {
if (!$connected) {
# connect to host and login with real FTP protocol
&open_socket($host, $port, "SOCK", $_[3], undef,
$address_callback) || return 0;
my $ip = &open_socket($host, $port, "SOCK", $_[3]) || return 0;
&$cbfunc(7, $ip) if ($cbfunc);
alarm(0) if ($timeout);
if ($main::download_timed_out) {
if ($error) {