summaryrefslogtreecommitdiff
path: root/apps/app_talkdetect.c
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2012-03-13 18:20:34 +0000
committerTerry Wilson <twilson@digium.com>2012-03-13 18:20:34 +0000
commit786f5898d12d30c481b1d178bb80e5801dbf666f (patch)
tree2b5e07ed1b5fbd7aae1187f068eff498621878a2 /apps/app_talkdetect.c
parent73ec67e008ca6db76625bfc1f992fa726c948837 (diff)
Finalize ast_channel opaquification
Review: https://reviewboard.asterisk.org/r/1786/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_talkdetect.c')
-rw-r--r--apps/app_talkdetect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_talkdetect.c b/apps/app_talkdetect.c
index 791081db5..5ef80c33c 100644
--- a/apps/app_talkdetect.c
+++ b/apps/app_talkdetect.c
@@ -151,7 +151,7 @@ static int background_detect_exec(struct ast_channel *chan, const char *data)
detection_start = ast_tvnow();
while (ast_channel_stream(chan)) {
res = ast_sched_wait(ast_channel_sched(chan));
- if ((res < 0) && !chan->timingfunc) {
+ if ((res < 0) && !ast_channel_timingfunc(chan)) {
res = 0;
break;
}