X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/c7a6958051fa283b6c7a30962ee616cccb306d01..ea42db4da534aff7a623b651d9287644837b32e2:/ev.c diff --git a/ev.c b/ev.c index ff47bd2..c8421b5 100644 --- a/ev.c +++ b/ev.c @@ -748,7 +748,7 @@ enable_secure (void) #endif } -int +unsigned int ev_method (EV_P) { return method; @@ -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