summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-26 12:55:23 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-11-26 12:55:23 +0000
commit9e35bfb0a8536b02722770072e6a7761934b3348 (patch)
tree26868d943fd6f5063bb94a378cf8761834ce45fb /urpm
parent7a23dee36db0010f05806a0a37e6c20a6b0114d5 (diff)
downloadurpmi-9e35bfb0a8536b02722770072e6a7761934b3348.tar
urpmi-9e35bfb0a8536b02722770072e6a7761934b3348.tar.gz
urpmi-9e35bfb0a8536b02722770072e6a7761934b3348.tar.bz2
urpmi-9e35bfb0a8536b02722770072e6a7761934b3348.tar.xz
urpmi-9e35bfb0a8536b02722770072e6a7761934b3348.zip
Further adjustment of the workaround for the curl output bug
Diffstat (limited to 'urpm')
-rw-r--r--urpm/download.pm4
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;
}