X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fstatserv.c;h=b20b670f7d5acebf7e4b02cd06e5ef24f32cd79f;hb=dedba382ec4773d8abdf244290020f3da42113b6;hp=49221f27b542d07c9e5cb7a3b62c1eb24f8d59fa;hpb=c038a022f891ee58e6d30aec93644d17d2b686d6;p=yaz-moved-to-github.git diff --git a/src/statserv.c b/src/statserv.c index 49221f2..b20b670 100644 --- a/src/statserv.c +++ b/src/statserv.c @@ -1,11 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data * See the file LICENSE for details. - * - * NT threaded server code by - * Chas Woodfield, Fretwell Downing Informatics. - * - * $Id: statserv.c,v 1.51 2007-11-12 08:41:56 adam Exp $ */ /** @@ -771,7 +766,7 @@ void statserv_closedown() void __cdecl event_loop_thread (IOCHAN iochan) { - event_loop (&iochan); + iochan_event_loop (&iochan); } /* WIN32 listener */ @@ -1358,6 +1353,8 @@ int check_options(int argc, char **argv) char *arg; yaz_log_init_level(yaz_log_mask_str(STAT_DEFAULT_LOG_LEVEL)); + + yaz_log_xml_errors(0, YLOG_WARN); get_logbits(1); while ((ret = options("1a:iszSTl:v:u:c:w:t:k:d:A:p:DC:f:m:r:",