projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9203927
)
uloop: fix multiple calls to uloop_run()
author
Luka Perkov
<luka@openwrt.org>
Mon, 5 May 2014 00:41:34 +0000
(
02:41
+0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 5 May 2014 09:24:07 +0000
(11:24 +0200)
Signed-off-by: Luka Perkov <luka@openwrt.org>
uloop.c
patch
|
blob
|
history
diff --git
a/uloop.c
b/uloop.c
index ee568a8cb7f7b7ed4042f10db8fc66c68267d898..c3d206a0ed146a5d12173543d9af37acb166811e 100644
(file)
--- a/
uloop.c
+++ b/
uloop.c
@@
-646,6
+646,7
@@
void uloop_run(void)
if (!recursive_calls++)
uloop_setup_signals(true);
+ uloop_cancelled = false;
while(!uloop_cancelled)
{
uloop_gettime(&tv);