summaryrefslogtreecommitdiffstats
path: root/perl-install/crypto.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-07-02 14:00:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-07-02 14:00:39 +0000
commitfb83ee6d05334fa2ddf01e8cae5fc9dcd8b0499a (patch)
treeb37e1fa2d7666bcdaac4c3b8f2613b86282dcf78 /perl-install/crypto.pm
parent723df32220af3a6972d7353579633d2faccc5d9a (diff)
downloaddrakx-backup-do-not-use-fb83ee6d05334fa2ddf01e8cae5fc9dcd8b0499a.tar
drakx-backup-do-not-use-fb83ee6d05334fa2ddf01e8cae5fc9dcd8b0499a.tar.gz
drakx-backup-do-not-use-fb83ee6d05334fa2ddf01e8cae5fc9dcd8b0499a.tar.bz2
drakx-backup-do-not-use-fb83ee6d05334fa2ddf01e8cae5fc9dcd8b0499a.tar.xz
drakx-backup-do-not-use-fb83ee6d05334fa2ddf01e8cae5fc9dcd8b0499a.zip
remove buggy prototype
Diffstat (limited to 'perl-install/crypto.pm')
-rw-r--r--perl-install/crypto.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/crypto.pm b/perl-install/crypto.pm
index 780539cc9..0832d5073 100644
--- a/perl-install/crypto.pm
+++ b/perl-install/crypto.pm
@@ -32,7 +32,7 @@ sub mirrors() { keys %mirrors }
sub dir { $mirrors{$_[0]}[1] . '/' . (arch() !~ /i.86/ && ((arch() =~ /sparc/ ? "sparc" : arch()). '/')) . $::VERSION }
sub ftp($) { ftp::new($_[0], dir($_[0])) }
-sub getFile($$) {
+sub getFile {
my ($file, $host) = @_;
$host ||= $crypto::host;
log::l("getting crypto file $file on directory " . dir($host) . " with login $mirrors{$host}[2]");