readLine was returning (in its truncation parameter) the exact opposite of the promised boolean. Thanks to kin@netscape.com for pointing this out.

git-svn-id: svn://10.0.0.236/trunk@36392 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcmullen%netscape.com 1999-06-22 23:21:00 +00:00
parent 5ed0245da6
commit d6a17f446b

View File

@ -525,7 +525,7 @@ NS_IMETHODIMP nsFileSpecImpl::readLine(char** line, PRInt32 bufferSize, PRBool *
if (!mInputStream)
return NS_ERROR_NULL_POINTER;
nsInputFileStream s(mInputStream);
*wasTruncated = s.readline(*line, bufferSize);
*wasTruncated = !s.readline(*line, bufferSize);
return s.error();
}