[cvs-annodex] commit (/annodex):
libcmml/trunk/tools/cmml-validate.c
silvia
nobody at lists.annodex.net
Wed Apr 6 19:57:05 EST 2005
Update of /annodex (new revision 1214)
Modified files:
libcmml/trunk/tools/cmml-validate.c
Log Message:
This fixes the "EOF" bug.
Modified: libcmml/trunk/tools/cmml-validate.c
===================================================================
--- libcmml/trunk/tools/cmml-validate.c 2005-04-05 11:40:18 UTC (rev 1213)
+++ libcmml/trunk/tools/cmml-validate.c 2005-04-06 09:57:04 UTC (rev 1214)
@@ -353,7 +353,7 @@
}
err = cmml_get_last_error(doc);
- if (n == -1 || (err!=NULL && err->type != CMML_EOF)) {
+ if (err!=NULL && err->type != CMML_EOF) {
char *filename;
filename = (strrchr(pathfile, '/') == NULL ? pathfile
: strrchr(pathfile, '/')+1);
--
silvia
More information about the cvs-annodex
mailing list