Browse code

- fixed EXTRA_DEBUG abort() segfault -- now it won't abort() on "detached" timers

Andrei Pelinescu-Onciul authored on 22/09/2003 14:39:59
Showing 1 changed files
... ...
@@ -589,7 +589,7 @@ void print_timer_list( enum lists list_id)
589 589
 static void remove_timer_unsafe(  struct timer_link* tl )
590 590
 {
591 591
 #ifdef EXTRA_DEBUG
592
-	if (tl && tl->timer_list &&
592
+	if (tl && is_in_timer_list2(tl) &&
593 593
 		tl->timer_list->last_tl.prev_tl==0) {
594 594
 		LOG( L_CRIT,
595 595
 		"CRITICAL : Oh no, zero link in trailing timer element\n");