Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
694e600
)
better handling of multiple cases
author
José Bollo
<jose.bollo@iot.bzh>
Wed, 20 Apr 2016 14:49:12 +0000
(16:49 +0200)
committer
José Bollo
<jose.bollo@iot.bzh>
Wed, 20 Apr 2016 14:49:12 +0000
(16:49 +0200)
Change-Id: Id3f92fb10d33773701bbaca32353546d295170ff
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/utils-upoll.c
patch
|
blob
|
history
diff --git
a/src/utils-upoll.c
b/src/utils-upoll.c
index
d72a0e8
..
82d6dac
100644
(file)
--- a/
src/utils-upoll.c
+++ b/
src/utils-upoll.c
@@
-256,15
+256,12
@@
int upoll_wait(int timeout)
while (u != NULL) {
if ((e.events & EPOLLIN) && u->read) {
u->read(u->closure);
- break;
}
if ((e.events & EPOLLOUT) && u->write) {
u->write(u->closure);
- break;
}
if ((e.events & EPOLLHUP) && u->hangup) {
u->hangup(u->closure);
- break;
}
u = u->next;
}