зеркало из https://github.com/mozilla/gecko-dev.git
Attempt to fix creature bustage
This commit is contained in:
Родитель
995dce9a31
Коммит
ce94be71f2
|
@ -818,7 +818,8 @@ nsHttpTransaction::HandleContent(char *buf,
|
|||
// NOT persistent, we simply accept everything in |buf|.
|
||||
if (mConnection->IsPersistent()) {
|
||||
nsInt64 remaining = mContentLength - mContentRead;
|
||||
*contentRead = PR_MIN(nsInt64(count), remaining);
|
||||
nsInt64 count64 = count;
|
||||
*contentRead = PR_MIN(count64, remaining);
|
||||
*contentRemaining = count - *contentRead;
|
||||
}
|
||||
else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче