update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9130 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
952f2b7198
commit
5fc385c1c5
|
@ -1192,7 +1192,9 @@ SWITCH_STANDARD_APP(tone_detect_session_function)
|
|||
}
|
||||
} else {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue