summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2015-05-22 17:20:05 +0200
committerMichael Vogt <mvo@ubuntu.com>2015-05-22 17:20:05 +0200
commit40b260dec34c495379e06e98ac66f8a9e6460f9e (patch)
tree1f09a5029932e151474a15ca25f66a2917991c8e
parentbee21a4fa46041d8d6cec7d830a9387958a2fc90 (diff)
parent65759e00eff0513c34f584b99420b72fe0e5073e (diff)
Merge remote-tracking branch 'mvo/debian/sid' into debian/sid
-rw-r--r--methods/https.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/https.cc b/methods/https.cc
index 81060122c..c97367323 100644
--- a/methods/https.cc
+++ b/methods/https.cc
@@ -69,7 +69,7 @@ HttpsMethod::parse_header(void *buffer, size_t size, size_t nmemb, void *userp)
me->File->Truncate(me->Server->StartPos);
me->File->Seek(me->Server->StartPos);
- me->Res.Size = me->Server->Size;
+ me->Res.Size = me->Server->TotalFileSize;
}
else if (me->Server->HeaderLine(line) == false)
return 0;