X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Feventl.c;h=e8f63241a653ba58ab78c9d64122ad7402c399f6;hp=8c7d3abbbc76f576b68d4850f5ed7fab615efeed;hb=ac63793036c6d830d002241a750691b26235b3e1;hpb=62f4f43aa7b97890d7c4bf776e3749f25b2e1c5a diff --git a/src/eventl.c b/src/eventl.c index 8c7d3ab..e8f6324 100644 --- a/src/eventl.c +++ b/src/eventl.c @@ -138,15 +138,9 @@ int iochan_event_loop(IOCHAN *iochans) } else { - /* Destroy the first member in the chain, and try again */ - association *assoc = (association *)iochan_getdata(*iochans); - COMSTACK conn = assoc->client_link; - - cs_close(conn); - destroy_association(assoc); - iochan_destroy(*iochans); - yaz_log(log_level, "error select, destroying iochan %p", - *iochans); + yaz_log(YLOG_WARN|YLOG_ERRNO, "yaz_poll"); + xfree(fds); + continue; } } now = time(0);