]> mj.ucw.cz Git - libucw.git/commitdiff
Main: Test re-adding of timers
authorMartin Mares <mj@ucw.cz>
Wed, 28 Jul 2010 20:31:09 +0000 (22:31 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 18 Aug 2010 16:12:57 +0000 (18:12 +0200)
ucw/mainloop.c

index 77eb8d9e8bacec58587bd3d7826dd28dffe59056..50eb636dc0488eca21e471ecdda399712706bb1b 100644 (file)
@@ -673,6 +673,7 @@ static int dhook(struct main_hook *ho UNUSED)
 static void dtimer(struct main_timer *tm)
 {
   msg(L_INFO, "Timer tick");
+  timer_add_rel(tm, 11000);
   timer_add_rel(tm, 10000);
 }