summaryrefslogtreecommitdiff
path: root/methods/https.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-10-07 08:43:46 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-10-07 08:43:46 +0200
commit5b33fab8c9a8c26cbc8ce3bf5e1573279d7884b3 (patch)
tree77ddb4c1e526d46b5b6142f4657b9d108430f856 /methods/https.cc
parent62acbba8d1e8c9f395ccd1068e89bf14a93d4aa8 (diff)
add ftp expected size check
Diffstat (limited to 'methods/https.cc')
-rw-r--r--methods/https.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/methods/https.cc b/methods/https.cc
index f8e84a2ff..a4794e705 100644
--- a/methods/https.cc
+++ b/methods/https.cc
@@ -86,7 +86,6 @@ HttpsMethod::write_data(void *buffer, size_t size, size_t nmemb, void *userp)
return _error->Error("Writing more data than expected (%llu > %llu)",
me->TotalWritten, me->Queue->ExpectedSize);
-
return size*nmemb;
}