зеркало из https://github.com/mozilla/pjs.git
Attempt to fix creature bustage
This commit is contained in:
Родитель
9880aa6e69
Коммит
8796f6142e
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче