X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fxmlerror.c;h=bf80324e39ae7cfeda6e2e84baafe831777b6255;hp=067ef25c784c23eda8dacdd6b14af7e637e4a5f3;hb=92b4e042f027d999411ee8c20814cc76e2736e71;hpb=14ce714521fcdab18a298c48977f23af20c476c0 diff --git a/src/xmlerror.c b/src/xmlerror.c index 067ef25..bf80324 100644 --- a/src/xmlerror.c +++ b/src/xmlerror.c @@ -46,11 +46,11 @@ void yaz_log_xml_errors(const char *prefix, int log_level) #if YAZ_HAVE_XML2 xmlSetGenericErrorFunc((void *) (prefix ? prefix : "XML"), xml_error_handler); -#endif #if YAZ_HAVE_XSLT xsltSetGenericErrorFunc((void *) (prefix ? prefix : "XSLT"), xml_error_handler); #endif +#endif } /*