git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10438 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-11-18 15:11:17 +00:00
parent afe55146ac
commit 77bfea8b7d
2 changed files with 40 additions and 33 deletions
@@ -1236,8 +1236,8 @@ SWITCH_STANDARD_APP(tone_detect_session_function)
}
}
if (argv[7]) {
hits = atoi(argv[7]);
if (argv[6]) {
hits = atoi(argv[6]);
if (hits < 0) {
hits = 1;
}