printed the wrong string Daniel

* testRegexp.c: printed the wrong string
Daniel
This commit is contained in:
Daniel Veillard 2005-08-22 15:50:57 +00:00
parent 0090bd524f
commit a4181227e9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Mon Aug 22 17:50:20 CEST 2005 Daniel Veillard <daniel@veillard.com>
* testRegexp.c: printed the wrong string
Mon Aug 22 16:42:07 CEST 2005 Daniel Veillard <daniel@veillard.com>
* testRegexp.c xmlregexp.c include/libxml/xmlregexp.h: exported

View File

@ -191,7 +191,7 @@ testReduce(xmlExpCtxtPtr ctxt, xmlExpNodePtr expr, const char *tst) {
printf("Subset %s failed to parse\n", tst);
return;
}
xmlExpDump(xmlExpBuf, expr);
xmlExpDump(xmlExpBuf, sub);
printf("Subset parsed as: %s\n",
(const char *) xmlBufferContent(xmlExpBuf));
deriv = xmlExpExpDerive(ctxt, expr, sub);