summaryrefslogtreecommitdiff
path: root/methods/https.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2015-05-22 16:27:08 +0200
committerMichael Vogt <mvo@ubuntu.com>2015-05-22 16:30:29 +0200
commit65759e00eff0513c34f584b99420b72fe0e5073e (patch)
tree0fdc15e2c076181aa03d9ed37dda56e333ac7e76 /methods/https.cc
parent0f3150e7040f45565b459a1390606bc2f714f6a8 (diff)
Update methods/https.cc now that ServerState::Size is renamed
Git-Dch: ignore
Diffstat (limited to 'methods/https.cc')
-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;