Fixes bug 71346. Can't upload large files. r=gagan, sr=mscott.

This commit is contained in:
darin%netscape.com 2001-03-13 07:16:10 +00:00
Родитель 73afe96e68
Коммит 945ace2667
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -175,14 +175,12 @@ nsHTTPEncodeStream::ReadSegments(nsWriteSegmentFun writer, void * closure, PRUin
nsresult rv = Read (readBuf, count, &nBytes);
PRUint32 writeCount = 0;
*_retval = 0;
if (NS_SUCCEEDED (rv))
rv = writer (this, closure, readBuf, *_retval, nBytes, &writeCount);
rv = writer (this, closure, readBuf, *_retval, nBytes, _retval);
PR_Free (readBuf);
return rv;
}