From: root Date: Mon, 12 Nov 2007 07:20:24 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: rel-0_9~45 X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/f0d2fe1a1309889f165d0924a77cca204395737b?ds=inline;hp=1c07891d9c059843fa4dcc0d0fa340676816d259 *** empty log message *** --- 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