From be1eadea83fa92186638cdbf7b014ac98cd5a039 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 13 Aug 2014 15:05:15 +0200 Subject: [PATCH] Only inspect for proper FD --- src/eventl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eventl.c b/src/eventl.c index b914bf3..39c243a 100644 --- a/src/eventl.c +++ b/src/eventl.c @@ -334,7 +334,7 @@ static int event_loop(iochan_man_t man, IOCHAN *iochans) p->last_event = now; p->this_event |= EVENT_TIMEOUT; } - if (fds[i].fd >= 0) + if (fds[i].fd >= 0 && p->fd == fds[i].fd) { if (fds[i].output_mask & yaz_poll_read) { -- 1.7.10.4