ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.c
(Generate patch)

Comparing libev/ev.c (file contents):
Revision 1.230 by root, Fri May 2 08:13:16 2008 UTC vs.
Revision 1.231 by root, Mon May 5 20:47:33 2008 UTC

1523periodics_reschedule (EV_P) 1523periodics_reschedule (EV_P)
1524{ 1524{
1525 int i; 1525 int i;
1526 1526
1527 /* adjust periodics after time jump */ 1527 /* adjust periodics after time jump */
1528 for (i = 0; i < periodiccnt; ++i) 1528 for (i = 1; i <= periodiccnt; ++i)
1529 { 1529 {
1530 ev_periodic *w = (ev_periodic *)periodics [i]; 1530 ev_periodic *w = (ev_periodic *)periodics [i];
1531 1531
1532 if (w->reschedule_cb) 1532 if (w->reschedule_cb)
1533 ev_at (w) = w->reschedule_cb (w, ev_rt_now); 1533 ev_at (w) = w->reschedule_cb (w, ev_rt_now);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines