X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fxmlerror.c;h=9829f738c0bdb7b32471f32159263a6fe673ec8b;hb=dbc40ad16aa82379d2884e106d79c7d83312667a;hp=efb7ebc2ad84fdbac0542bd9a224556cddbfa3b6;hpb=d0e351c12fff564d876958e860338d43716dc269;p=yaz-moved-to-github.git diff --git a/src/xmlerror.c b/src/xmlerror.c index efb7ebc..9829f73 100644 --- a/src/xmlerror.c +++ b/src/xmlerror.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2013 Index Data * 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; - + #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