Fix for possible bug

This commit is contained in:
James Clark 1999-04-25 12:12:01 +00:00
parent f9560ef835
commit 78102b202d

View file

@ -1054,7 +1054,7 @@ doContent(XML_Parser parser,
}
*eventPP = s;
for (;;) {
const char *next;
const char *next = s; /* XmlContentTok doesn't always set the last arg */
int tok = XmlContentTok(enc, s, end, &next);
*eventEndPP = next;
switch (tok) {