diff options
author | Martin Mares <mj@ucw.cz> | 2000-04-27 22:28:49 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-04-27 22:28:49 +0000 |
commit | 8f6accb5bb26d534576e086894c107387f67906a (patch) | |
tree | b7c02cbdaca870a6f86e0110d2b1d270f5c89d77 /nest/rt-table.c | |
parent | 987de54578ce4053d737c64ea924a32f46a441a7 (diff) |
Event handlers no longer return re-queue flag. Instead of using it, just
call ev_schedule() on the same handler which should work perfectly now.
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index 6ad5b06f..ae27ceb7 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -466,7 +466,7 @@ rt_dump_all(void) rt_dump(t); } -static int +static void rt_gc(void *tab) { rtable *t = tab; @@ -474,7 +474,6 @@ rt_gc(void *tab) DBG("Entered routing table garbage collector for %s after %d seconds and %d deletes\n", t->name, (int)(now - t->gc_time), t->gc_counter); rt_prune(t); - return 0; } void |