X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fxmlerror.c;h=ca09633294ee934feff67a888b7000c5e15a7c99;hp=0e50575897630aaa530a2965672de1d48b257946;hb=5242cb5a8634bfa38b9333ff7f903e718ac6e292;hpb=7b27a8f378d73a86e8ff5e4fa3285117362481c5 diff --git a/src/xmlerror.c b/src/xmlerror.c index 0e50575..ca09633 100644 --- a/src/xmlerror.c +++ b/src/xmlerror.c @@ -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; - + #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