git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9130 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-07-22 14:53:54 +00:00
parent 952f2b7198
commit 5fc385c1c5

View File

@ -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)) {
if (to >= 1) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID Timeout!\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "INVALID Timeout!\n");
}
to = 0; to = 0;
} }
} }