projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 5.9.0
[yaz-moved-to-github.git]
/
src
/
xmlerror.c
diff --git
a/src/xmlerror.c
b/src/xmlerror.c
index
0e50575
..
c01fc43
100644
(file)
--- a/
src/xmlerror.c
+++ b/
src/xmlerror.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2012 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/** \file
* See the file LICENSE for details.
*/
/** \file
@@
-44,11
+44,11
@@
static void xml_error_handler(void *ctx, const char *fmt, ...)
void yaz_log_xml_errors(const char *prefix, int log_level)
{
xml_error_log_level = log_level;
void yaz_log_xml_errors(const char *prefix, int log_level)
{
xml_error_log_level = log_level;
-
+
#if YAZ_HAVE_XML2
xmlSetGenericErrorFunc((void *) (prefix ? prefix : "XML"),
xml_error_handler);
#if YAZ_HAVE_XML2
xmlSetGenericErrorFunc((void *) (prefix ? prefix : "XML"),
xml_error_handler);
-#if YAZ_HAVE_XSLT
+#if YAZ_HAVE_XSLT
xsltSetGenericErrorFunc((void *) (prefix ? prefix : "XSLT"),
xml_error_handler);
#endif
xsltSetGenericErrorFunc((void *) (prefix ? prefix : "XSLT"),
xml_error_handler);
#endif