summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-29 13:25:30 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-29 13:25:30 +0000
commit69ab7a4e278f3fb2621c57dbff2b9ad91e73101a (patch)
tree85b2f943e29a7d3597a0636e3d6d4b67930e8130
parent08cdbf90d931c14f2ce081d3b603b876abf4727a (diff)
downloadurpmi-69ab7a4e278f3fb2621c57dbff2b9ad91e73101a.tar
urpmi-69ab7a4e278f3fb2621c57dbff2b9ad91e73101a.tar.gz
urpmi-69ab7a4e278f3fb2621c57dbff2b9ad91e73101a.tar.bz2
urpmi-69ab7a4e278f3fb2621c57dbff2b9ad91e73101a.tar.xz
urpmi-69ab7a4e278f3fb2621c57dbff2b9ad91e73101a.zip
(sync_curl) minor warning fix
(Argument "7845k" isn't numeric in numeric eq (==) at /usr/lib/perl5/vendor_perl/5.10.0/urpm/download.pm line 502, <$curl> chunk 396 (#3))
-rw-r--r--urpm/download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 54ceb4db..97f0448f 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -500,7 +500,7 @@ sub sync_curl {
}
#- this checks that download has actually started
if ($_ eq "\n"
- && !($speed == 0 && $percent == 100 && index($eta, '--') >= 0) #- work around bug 13685
+ && !($speed eq 0 && $percent == 100 && index($eta, '--') >= 0) #- work around bug 13685
) {
propagate_sync_callback($options, 'end', $file);
$file = undef;