projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using the ICU wrapper from YAZ rather than its own.
[pazpar2-moved-to-github.git]
/
src
/
eventl.c
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 (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;
{
if (errno == EINTR)
continue;