projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9252cb
)
Swap reversed timevals.
author
Mark Michelson
<mmichelson@digium.com>
Sun, 1 Mar 2009 23:25:23 +0000
(23:25 +0000)
committer
Mark Michelson
<mmichelson@digium.com>
Sun, 1 Mar 2009 23:25:23 +0000
(23:25 +0000)
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
apps/app_speech_utils.c
patch
|
blob
|
history
diff --git
a/apps/app_speech_utils.c
b/apps/app_speech_utils.c
index
18fa782
..
8ad5e74
100644
(file)
--- a/
apps/app_speech_utils.c
+++ b/
apps/app_speech_utils.c
@@
-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);