summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-22 17:02:09 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-22 17:02:09 +0000
commit4b01e5255a3886df26fd51e78c3272463ae0e9e3 (patch)
treef706cf4a5c7e5138885d71af19adb26c1ee85ee6 /docs
parentb0f87236c9e3fdfe75732701838df534fba3d423 (diff)
downloaddrakx-4b01e5255a3886df26fd51e78c3272463ae0e9e3.tar
drakx-4b01e5255a3886df26fd51e78c3272463ae0e9e3.tar.gz
drakx-4b01e5255a3886df26fd51e78c3272463ae0e9e3.tar.bz2
drakx-4b01e5255a3886df26fd51e78c3272463ae0e9e3.tar.xz
drakx-4b01e5255a3886df26fd51e78c3272463ae0e9e3.zip
try to use asprintf a bit (hope it doesn't segfault too much)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
lass='upd'>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();