X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftst_retrieval.c;h=89ba159ff2d20a6f8ebd2030a60216605dcb739d;hb=c5a81c4eb35bcab571d42f4e02a69e4ed76dc20b;hp=8ed48ea5251457d8be4aae816c685dfbadaacb33;hpb=401da56d4a26f687cd42024bdef6f29a29bb7663;p=yaz-moved-to-github.git diff --git a/test/tst_retrieval.c b/test/tst_retrieval.c index 8ed48ea..89ba159 100644 --- a/test/tst_retrieval.c +++ b/test/tst_retrieval.c @@ -1,16 +1,12 @@ -/* - * Copyright (C) 2005-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. - * - * $Id: tst_retrieval.c,v 1.10 2007-03-19 14:40:07 adam Exp $ - * */ #include #include #include #include #include -#include #if HAVE_CONFIG_H #include @@ -319,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(); @@ -330,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