X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftst_retrieval.c;h=89ba159ff2d20a6f8ebd2030a60216605dcb739d;hp=8d8da7de4461aac03eb06709a8998dce526e3d92;hb=31216a13d9e767800206f612fd14c408357fdafd;hpb=2788a4851b551e1a3efb320a2878b809f2d8a9d7 diff --git a/test/tst_retrieval.c b/test/tst_retrieval.c index 8d8da7d..89ba159 100644 --- a/test/tst_retrieval.c +++ b/test/tst_retrieval.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 @@ -316,7 +315,7 @@ int main(int argc, char **argv) { YAZ_CHECK_INIT(argc, argv); - libxml2_error_to_yazlog(0 /* disable it */, ""); + yaz_log_xml_errors(0, 0 /* disable it */); #if YAZ_HAVE_XSLT tst_configure(); @@ -327,6 +326,7 @@ int main(int argc, char **argv) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab