X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Feventl.c;h=b5ef1234a21bacfd5d19c5550b95812e009041ef;hb=d962efcd2c1f0a3abfb0c40e81e298d69a9757bd;hp=a34e76a7c210211c6f458ca90b03cbe61392e7df;hpb=770b156ad12cf75c816cdbe7f935493b812d6b5c;p=yaz-moved-to-github.git diff --git a/src/eventl.c b/src/eventl.c index a34e76a..b5ef123 100644 --- a/src/eventl.c +++ b/src/eventl.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. */ @@ -88,11 +88,6 @@ int iochan_event_loop(IOCHAN *iochans) int res; time_t now = time(0); - if (statserv_must_terminate()) - { - for (p = *iochans; p; p = p->next) - p->force_event = EVENT_TIMEOUT; - } for (p = *iochans; p; p = p->next) no_fds++; fds = (struct yaz_poll_fd *) xmalloc(no_fds * sizeof(*fds)); @@ -129,11 +124,6 @@ int iochan_event_loop(IOCHAN *iochans) { if (yaz_errno() == EINTR) { - if (statserv_must_terminate()) - { - for (p = *iochans; p; p = p->next) - p->force_event = EVENT_TIMEOUT; - } xfree(fds); continue; }