X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftst_record_conv.c;h=33ede53b269829815b3e2432eca7788b6ca60ed8;hb=c5a81c4eb35bcab571d42f4e02a69e4ed76dc20b;hp=ffe3c4ff57cee55b5c496e64eacbee2bb932a949;hpb=2cc3fc3eb644f09db82f30906e8d9a09601f544e;p=yaz-moved-to-github.git diff --git a/test/tst_record_conv.c b/test/tst_record_conv.c index ffe3c4f..33ede53 100644 --- a/test/tst_record_conv.c +++ b/test/tst_record_conv.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ #include @@ -7,7 +7,6 @@ #include #include #include -#include #if HAVE_CONFIG_H #include @@ -334,7 +333,7 @@ static void tst_convert2(void) int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); - libxml2_error_to_yazlog(0 /* disable log */, 0); + yaz_log_xml_errors(0, 0 /* disable log */); #if YAZ_HAVE_XML2 tst_configure(); #endif