From 9e35bfb0a8536b02722770072e6a7761934b3348 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 26 Nov 2004 12:55:23 +0000 Subject: Further adjustment of the workaround for the curl output bug --- urpm/download.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urpm/download.pm b/urpm/download.pm index 03aa341b..38dea72c 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -348,8 +348,8 @@ sub sync_curl { return; } #- this regexp checks that download has actually started - #- (work around a bug in curl 7.12.2 output for auth sources) - if ($_ eq "\n" && $buf !~ /--:--:-- --:--:-- --:--:--/) { + #- (work around a bug in curl 7.12.2 output when 302 answers are involved) + if ($_ eq "\n" && $buf !~ /--:--:--/) { propagate_sync_callback($options, 'end', $file); $file = undef; } -- cgit v1.2.1