mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Swap reversed timevals.
This was pointed out by ScribbleJ in #asterisk-dev. Thanks very much, ScribbleJ! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@179254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -744,7 +744,7 @@ static int speech_background(struct ast_channel *chan, void *data)
|
||||
/* Do timeout check (shared between audio/dtmf) */
|
||||
if ((!quieted || strlen(dtmf)) && started == 1) {
|
||||
current = ast_tvnow();
|
||||
if ((ast_tvdiff_ms(start, current)) >= timeout) {
|
||||
if ((ast_tvdiff_ms(current, start)) >= timeout) {
|
||||
done = 1;
|
||||
if (f)
|
||||
ast_frfree(f);
|
||||
|
Reference in New Issue
Block a user