From: Adam Dickmeiss Date: Wed, 13 Aug 2014 13:05:15 +0000 (+0200) Subject: Only inspect for proper FD X-Git-Tag: v1.7.1~2^2 X-Git-Url: http://jira.indexdata.com/?a=commitdiff_plain;h=be1eadea83fa92186638cdbf7b014ac98cd5a039;p=pazpar2-moved-to-github.git Only inspect for proper FD --- 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) {