From 69ab7a4e278f3fb2621c57dbff2b9ad91e73101a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 29 Apr 2009 13:25:30 +0000 Subject: (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)) --- urpm/download.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1