]> git.llucax.com Git - software/libev.git/commitdiff
*** empty log message ***
authorroot <root>
Mon, 12 Nov 2007 07:20:24 +0000 (07:20 +0000)
committerroot <root>
Mon, 12 Nov 2007 07:20:24 +0000 (07:20 +0000)
ev.c

diff --git a/ev.c b/ev.c
index 916d3e601c82d0e49dc94a35349694b491ade6ec..c8421b59ecc2b57f5c071780875f45e7207b385b 100644 (file)
--- a/ev.c
+++ b/ev.c
@@ -1384,7 +1384,10 @@ ev_timer_again (EV_P_ struct ev_timer *w)
         ev_timer_stop (EV_A_ w);
     }
   else if (w->repeat)
         ev_timer_stop (EV_A_ w);
     }
   else if (w->repeat)
-    ev_timer_start (EV_A_ w);
+    {
+      w->at = w->repeat;
+      ev_timer_start (EV_A_ w);
+    }
 }
 
 #if EV_PERIODICS
 }
 
 #if EV_PERIODICS