summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-11-12 07:20:24 +0000
committerroot <root>2007-11-12 07:20:24 +0000
commitf0d2fe1a1309889f165d0924a77cca204395737b (patch)
treeb14386dab8f3702c76aa242cb4cee10fad1b5ed9 /ev.c
parent1c07891d9c059843fa4dcc0d0fa340676816d259 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 916d3e6..c8421b5 100644
--- 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_start (EV_A_ w);
+ {
+ w->at = w->repeat;
+ ev_timer_start (EV_A_ w);
+ }
}
#if EV_PERIODICS