提交 17329d04 authored 作者: Stefan Knoblich's avatar Stefan Knoblich

ftmod_libpri: Print warning message in lpwrap_stop_timer(), if timer is not on the active list

Signed-off-by: 's avatarStefan Knoblich <stkn@openisdn.net>
上级 a0351825
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论