Skip to content

Commit

Permalink
fixed expire_timeouts in fastrouter
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto@precise64 committed Mar 15, 2012
1 parent 2ce2494 commit 1a93b68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/fastrouter/fastrouter.c
Expand Up @@ -538,7 +538,7 @@ void fastrouter_loop(int id) {
else {
delta = min_timeout->key - time(NULL);
if (delta <= 0) {
expire_timeouts(ufr.timeouts, ufr.fr_table);
expire_timeouts();
delta = 0;
}
}
Expand All @@ -554,7 +554,7 @@ void fastrouter_loop(int id) {
}

if (nevents == 0) {
expire_timeouts(ufr.timeouts, ufr.fr_table);
expire_timeouts();
}

for (i = 0; i < nevents; i++) {
Expand Down

0 comments on commit 1a93b68

Please sign in to comment.