X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fstatserv.c;h=49221f27b542d07c9e5cb7a3b62c1eb24f8d59fa;hb=c038a022f891ee58e6d30aec93644d17d2b686d6;hp=731bce54f1d67c5d283bfc58f713907c21250bd9;hpb=4f8aff36e000a9d90227fd30d9f9dc63e8ffad40;p=yaz-moved-to-github.git diff --git a/src/statserv.c b/src/statserv.c index 731bce5..49221f2 100644 --- a/src/statserv.c +++ b/src/statserv.c @@ -5,7 +5,7 @@ * NT threaded server code by * Chas Woodfield, Fretwell Downing Informatics. * - * $Id: statserv.c,v 1.50 2007-08-13 16:46:47 mike Exp $ + * $Id: statserv.c,v 1.51 2007-11-12 08:41:56 adam Exp $ */ /** @@ -1043,7 +1043,7 @@ static void *new_session (void *vp) control_block.one_shot = 1; if (control_block.threads) { - event_loop(&new_chan); + iochan_event_loop(&new_chan); } else { @@ -1343,7 +1343,7 @@ int statserv_start(int argc, char **argv) if (pListener == NULL) return 1; yaz_log(YLOG_DEBUG, "Entering event loop."); - return event_loop(&pListener); + return iochan_event_loop(&pListener); } static void option_copy(char *dst, const char *src)