Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-05-05 04:41:34 +0400
committerFelix Fietkau <nbd@openwrt.org>2014-05-05 13:24:07 +0400
commitf32a53f92b377fa92dbafd2ce3d2df93fffb314d (patch)
tree94e6a0ea8b2b8d4d5fd86ea6d7fae090b21af01e /uloop.c
parent9203927e585d3fec720c9f654e3e263e350bb02c (diff)
uloop: fix multiple calls to uloop_run()
Signed-off-by: Luka Perkov <luka@openwrt.org>
Diffstat (limited to 'uloop.c')
-rw-r--r--uloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uloop.c b/uloop.c
index ee568a8..c3d206a 100644
--- 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);