[mod_dptools] coverity CID 1468646 (Unsigned compared against 0)

This commit is contained in:
Dragos Oancea 2023-04-10 17:05:49 +03:00
parent 77a5fa3b0d
commit e1d966ed0a
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;
}