summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-04-20 09:45:26 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-04-20 09:45:26 +0000
commitda0ff5da92cb7d0b9004b3e60094729bca554e74 (patch)
treede4d77a87e2c316265afea2b5294b9a637e624bc /error.c
parent6de6f97d193acc5b760f298d340086c2219d1ccb (diff)
downloadlibxml2-da0ff5da92cb7d0b9004b3e60094729bca554e74.tar.gz
Johnson Cameron pointed out that initGenericErrorDefaultFunc() was really
* error.c: Johnson Cameron pointed out that initGenericErrorDefaultFunc() was really wrong. * xmlreader.c include/libxml/xmlreader.h: xmlTextReaderMode enum must be made public, added some missing comments on the XMLReader header. * c14n.c: Alexsey fixed C14N bug with processing namespaces from attributes Daniel
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index bd9b3246..897f08d7 100644
--- a/error.c
+++ b/error.c
@@ -87,7 +87,7 @@ initGenericErrorDefaultFunc(xmlGenericErrorFunc * handler)
if (handler == NULL)
xmlGenericError = xmlGenericErrorDefaultFunc;
else
- (*handler) = xmlGenericErrorDefaultFunc;
+ xmlGenericError = (*handler);
}
/**