提交 5fc385c1 authored 作者: Anthony Minessale's avatar Anthony Minessale

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9130 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 952f2b71
...@@ -1192,7 +1192,9 @@ SWITCH_STANDARD_APP(tone_detect_session_function) ...@@ -1192,7 +1192,9 @@ SWITCH_STANDARD_APP(tone_detect_session_function)
} }
} else { } else {
if ((to = atol(argv[3])) < switch_timestamp(NULL)) { if ((to = atol(argv[3])) < switch_timestamp(NULL)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID Timeout!\n"); if (to >= 1) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID Timeout!\n");
}
to = 0; to = 0;
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论