summaryrefslogtreecommitdiffstats
path: root/perl-install/http.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-11 12:31:46 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-11 12:31:46 +0000
commit3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95 (patch)
treeafebab60e5720c4518118f663d0b54cf357a19ef /perl-install/http.pm
parent0dbcea82bd862926e42e46e3ac2b718ead1205d9 (diff)
downloaddrakx-backup-do-not-use-3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95.tar
drakx-backup-do-not-use-3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95.tar.gz
drakx-backup-do-not-use-3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95.tar.bz2
drakx-backup-do-not-use-3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95.tar.xz
drakx-backup-do-not-use-3e4ad5e1b687f262a1d7cc39a0b905a595ac7f95.zip
perl_checker compliance
Diffstat (limited to 'perl-install/http.pm')
-rw-r--r--perl-install/http.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/http.pm b/perl-install/http.pm
index 14a33fd7e..6e522597a 100644
--- a/perl-install/http.pm
+++ b/perl-install/http.pm
@@ -30,7 +30,8 @@ sub getFile {
"", "");
#- skip until empty line
- my ($now, $last, $buf, $tmp) = 0;
+ my $now = 0;
+ my ($last, $buf, $tmp);
my $read = sub { sysread($sock, $buf, 1) or die ''; $tmp .= $buf };
do {
$last = $now;