summaryrefslogtreecommitdiffstats
path: root/perl-install/http.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-04-30 10:09:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-04-30 10:09:27 +0000
commita419039b11d02b7ef2b7f894b199b245a7876303 (patch)
tree80c4d24a153aff1c05609b529d086457fe557c49 /perl-install/http.pm
parentc591bd073fb71703d6eb804429ed5b7e53bc538f (diff)
downloaddrakx-backup-do-not-use-a419039b11d02b7ef2b7f894b199b245a7876303.tar
drakx-backup-do-not-use-a419039b11d02b7ef2b7f894b199b245a7876303.tar.gz
drakx-backup-do-not-use-a419039b11d02b7ef2b7f894b199b245a7876303.tar.bz2
drakx-backup-do-not-use-a419039b11d02b7ef2b7f894b199b245a7876303.tar.xz
drakx-backup-do-not-use-a419039b11d02b7ef2b7f894b199b245a7876303.zip
perl_checker compliance
Diffstat (limited to 'perl-install/http.pm')
-rw-r--r--perl-install/http.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/http.pm b/perl-install/http.pm
index 34158f7bd..4e19eed8b 100644
--- a/perl-install/http.pm
+++ b/perl-install/http.pm
@@ -29,7 +29,7 @@ sub getFile {
#- skip until empty line
my ($now, $last, $buf, $tmp) = 0;
- my $read = sub { sysread($sock, $buf, 1) || die; $tmp .= $buf };
+ my $read = sub { sysread($sock, $buf, 1) or die ''; $tmp .= $buf };
do {
$last = $now;
&$read; &$read if $buf =~ /\015/;