aboutsummaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-10-17 15:58:35 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-10-17 15:58:35 +0000
commit3c01b1d81b696fe8624b6d7e26ec0ebffcc7c06b (patch)
treec6c072df9035dc652fb2f20c87aef0cfdcb3af74 /parser.c
parent7cc95c0b6afdd34cd570c461e71cf696ea19271d (diff)
downloadandroid_external_libxml2-3c01b1d81b696fe8624b6d7e26ec0ebffcc7c06b.tar.gz
android_external_libxml2-3c01b1d81b696fe8624b6d7e26ec0ebffcc7c06b.tar.bz2
android_external_libxml2-3c01b1d81b696fe8624b6d7e26ec0ebffcc7c06b.zip
- include/libxml/globals.h include/libxml/threads.h threads.c
testThreads.c: far more testing, cleaning up bugs - *.c : make sure globals.h is always included. Daniel
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 15a0f691..df21992f 100644
--- a/parser.c
+++ b/parser.c
@@ -10186,7 +10186,8 @@ static int xmlParserInitialized = 0;
void
xmlInitParser(void) {
- if (xmlParserInitialized) return;
+ if (xmlParserInitialized != 0)
+ return;
initGenericErrorDefaultFunc(NULL);
xmlInitThreads();