summaryrefslogtreecommitdiffstats
path: root/perl-install/crypto.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-04-17 22:59:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-04-17 22:59:53 +0000
commit7d8c8f8b00a34baadfd02dfd098f864591253716 (patch)
treec10d1485869e70c3ce98bb47686e8d210e2b2f6a /perl-install/crypto.pm
parent4ac24b5f0541ab6a18278a12aeb1cb10bf61c27f (diff)
downloaddrakx-7d8c8f8b00a34baadfd02dfd098f864591253716.tar
drakx-7d8c8f8b00a34baadfd02dfd098f864591253716.tar.gz
drakx-7d8c8f8b00a34baadfd02dfd098f864591253716.tar.bz2
drakx-7d8c8f8b00a34baadfd02dfd098f864591253716.tar.xz
drakx-7d8c8f8b00a34baadfd02dfd098f864591253716.zip
no_comment
Diffstat (limited to 'perl-install/crypto.pm')
-rw-r--r--perl-install/crypto.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm
index 2951c001c..c824af475 100644
--- a/perl-install/crypto.pm
+++ b/perl-install/crypto.pm
@@ -36,8 +36,8 @@ sub getFile($$) {
my ($file, $host) = @_;
log::l("getting crypto file $file on directory $host:$mirrors{$host}[1]/$::VERSION with login $mirrors{$host}[2]");
my ($ftp, $retr) = ftp::new($_[1], "$mirrors{$host}[1]/$::VERSION",
- ($mirrors{$host}[2] ? ($mirrors{$host}[2]) : ()),
- ($mirrors{$host}[3] ? ($mirrors{$host}[3]) : ())
+ $mirrors{$host}[2] ? $mirrors{$host}[2] : (),
+ $mirrors{$host}[3] ? $mirrors{$host}[3] : ()
);
$$retr->close if $$retr;
$$retr = $ftp->retr($file) or ftp::rewindGetFile();