projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19b8589
)
Only inspect for proper FD
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 13 Aug 2014 13:05:15 +0000
(15:05 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 13 Aug 2014 13:05:15 +0000
(15:05 +0200)
src/eventl.c
patch
|
blob
|
history
diff --git
a/src/eventl.c
b/src/eventl.c
index
b914bf3
..
39c243a
100644
(file)
--- 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)
{