diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-11 22:20:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-11 22:20:22 +0000 |
commit | 22ad938758373ec4e2f8490d62f2cdc237d50d7c (patch) | |
tree | 7848808920e41e4bbdee22867646139e7a907099 /perl-install/http.pm | |
parent | bfd84f6e2df1b083c8d95f6f8a84ede73d36dfea (diff) | |
download | drakx-backup-do-not-use-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar drakx-backup-do-not-use-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar.gz drakx-backup-do-not-use-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar.bz2 drakx-backup-do-not-use-22ad938758373ec4e2f8490d62f2cdc237d50d7c.tar.xz drakx-backup-do-not-use-22ad938758373ec4e2f8490d62f2cdc237d50d7c.zip |
- replace ... =~ 'foo' with ... =~ /foo/
- remove unneeded parentheses for things like ... if (...)
Diffstat (limited to 'perl-install/http.pm')
-rw-r--r-- | perl-install/http.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/http.pm b/perl-install/http.pm index 8d1e8d5de..ad05b761e 100644 --- a/perl-install/http.pm +++ b/perl-install/http.pm @@ -34,7 +34,7 @@ sub getFile { $last = $now; &$read; &$read if $buf =~ /\015/; $now = $buf =~ /\012/; - } until ($now && $last); + } until $now && $last; $tmp =~ /^.*\b200\b/ ? $sock : undef; } |