Merge pull request #2052 from dragos-oancea/mod_dptools-cov3

[mod_dptools] coverity CID 1468646 (Unsigned compared against 0)
This commit is contained in:
Andrey Volk 2023-04-18 13:25:13 +03:00 committed by GitHub
commit dbd37bdc51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4584,7 +4584,7 @@ SWITCH_STANDARD_APP(wait_for_silence_function)
timeout_ms = switch_atoui(argv[3]);
}
if (thresh > 0 && silence_hits > 0 && listen_hits >= 0) {
if (thresh > 0 && silence_hits > 0) {
switch_ivr_wait_for_silence(session, thresh, silence_hits, listen_hits, timeout_ms, argv[4]);
return;
}