minixml: Fix parsing error with extra whitespace

If there is extra whitespace, the iterator would not get moved properly
resulting in incomplete data.
This commit is contained in:
Justin Maggard 2018-01-02 16:27:10 -08:00
parent 2ad098fd69
commit 8b06ea863d

View File

@ -143,7 +143,7 @@ void parseelt(struct xmlparser * p)
return; return;
while( IS_WHITE_SPACE(*p->xml) ) while( IS_WHITE_SPACE(*p->xml) )
{ {
p->xml++; i++; p->xml++;
if (p->xml >= p->xmlend) if (p->xml >= p->xmlend)
return; return;
} }