diff options
Diffstat (limited to 'urpm/download.pm')
-rw-r--r-- | urpm/download.pm | 4 |
1 files 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; } |