X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fxmlerror.c;h=d036e58aa91bc396e6d9f402827c5e7634721b62;hb=9748d1f21b8a1c8c6f14ef9384c0e4fdb2d41585;hp=70bd639836d373d98c18bf0599a2f215aeee1075;hpb=6fef48087ae8e01bae2638be8babe0b74a812f28;p=yaz-moved-to-github.git diff --git a/src/xmlerror.c b/src/xmlerror.c index 70bd639..d036e58 100644 --- a/src/xmlerror.c +++ b/src/xmlerror.c @@ -1,6 +1,6 @@ -/* - * Copyright (C) 1995-2008, Index Data ApS - * All rights reserved. +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2009 Index Data + * See the file LICENSE for details. */ /** \file @@ -46,17 +46,19 @@ 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 } /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +