diff options
Diffstat (limited to 'sysdep/unix')
-rw-r--r-- | sysdep/unix/krt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index 6de6077e..57cfe5a4 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -846,12 +846,11 @@ static void krt_scan_timer_start(struct krt_proto *p) { if (!krt_scan_count) - { krt_scan_timer = tm_new_set(krt_pool, krt_scan, NULL, 0, KRT_CF->scan_time); - tm_start(krt_scan_timer, 0); - } krt_scan_count++; + + tm_start(krt_scan_timer, 0); } static void |