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:
4a93953
)
Simplify if stmt
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 16 Oct 2008 12:58:56 +0000
(14:58 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 16 Oct 2008 12:58:56 +0000
(14:58 +0200)
src/eventl.c
patch
|
blob
|
history
diff --git
a/src/eventl.c
b/src/eventl.c
index
ad1df4b
..
38807ee
100644
(file)
--- a/
src/eventl.c
+++ b/
src/eventl.c
@@
-111,7
+111,8
@@
int event_loop(IOCHAN *iochans)
if (p->max_idle && p->max_idle < to.tv_sec)
to.tv_sec = p->max_idle;
}
- if ((res = select(max + 1, &in, &out, &except, timeout)) < 0)
+ res = select(max + 1, &in, &out, &except, timeout);
+ if (res < 0)
{
if (errno == EINTR)
continue;