mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
ftmod_libpri: Print warning message in lpwrap_stop_timer(), if timer is not on the active list
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
1 parent
a035182582
commit
17329d04ad
1 file changed
+4
@@ -238,6 +238,10 @@ int lpwrap_stop_timer(struct lpwrap_pri *spri, struct lpwrap_timer *timer)
|
||||
|
||||
ftdm_mutex_unlock(spri->timer_mutex);
|
||||
|
||||
if (!cur) {
|
||||
ftdm_log_chan(spri->dchan, FTDM_LOG_WARNING, "-- Timer %p not found in list\n", timer);
|
||||
}
|
||||
|
||||
timer->next = NULL;
|
||||
timer->timeout = 0;
|
||||
timer->callback = NULL;
|
||||
|
||||
Reference in new issue
Block a user