Removed the offset parameter from the base stream interfaces. Implemented string streams.
git-svn-id: svn://10.0.0.236/trunk@22964 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -845,7 +845,7 @@ nsresult nsParser::OnDataAvailable(nsIURL* aURL, nsIInputStream *pIStream, PRUin
|
||||
nsresult result=NS_OK;
|
||||
|
||||
while ((theNumRead>0) && (aLength>theTotalRead) && (NS_OK==result)) {
|
||||
result = pIStream->Read(mParserContext->mTransferBuffer, 0, aLength, &theNumRead);
|
||||
result = pIStream->Read(mParserContext->mTransferBuffer, aLength, &theNumRead);
|
||||
if((result == NS_OK) && (theNumRead>0)) {
|
||||
theTotalRead+=theNumRead;
|
||||
if(mParserFilter)
|
||||
|
||||
Reference in New Issue
Block a user