Skip to content
Snippets Groups Projects
Commit 339ab145 authored by Alberto Massari's avatar Alberto Massari
Browse files

Fix boolean expression (XERCESC-1837)

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@709141 13f79535-47bb-0310-9956-ffa450edef68
parent 86d70939
No related branches found
No related tags found
No related merge requests found
......@@ -1057,7 +1057,7 @@ bool ReaderMgr::popReader()
// If there was a previous entity, and either the fThrowEOE flag is set
// or reader was marked as such, then throw an end of entity.
//
if (prevEntity && fThrowEOE || prevReaderThrowAtEnd)
if (prevEntity && (fThrowEOE || prevReaderThrowAtEnd))
throw EndOfEntityException(prevEntity, readerNum);
while (true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment