]> git.saurik.com Git - apt.git/blobdiff - methods/http.cc
ignore for _apt inaccessible TMPDIR in pkgAcqChangelog
[apt.git] / methods / http.cc
index af3d5ccb673c8882df511ca41c86cf2141eac2bb..ce697a338f494cdfcbfbefa2fa90de58bb175ed3 100644 (file)
@@ -447,7 +447,7 @@ bool HttpServerState::RunData(FileFd * const File)
       else if (JunkSize != 0)
         In.Limit(JunkSize);
       else
-        In.Limit(Size - StartPos);
+        In.Limit(DownloadSize);
       
       // Just transfer the whole block.
       do