mirror of
https://github.com/webmin/webmin.git
synced 2026-07-25 19:00:31 +01:00
Fix to manually incorporated Jamie's ed3cd51 change
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user