aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-04-20 16:49:12 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-04-20 16:49:12 +0200
commitec24258a5e9d39b5fd1d4f127d2d335a853e0fe5 (patch)
treebf4bcbcba71d083c1af63d16cfc21a5846e789cb
parent694e6000719d2d003c3046683347f9388d5fb708 (diff)
better handling of multiple cases
Change-Id: Id3f92fb10d33773701bbaca32353546d295170ff Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/utils-upoll.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/utils-upoll.c b/src/utils-upoll.c
index d72a0e8b..82d6dac8 100644
--- 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;
}