mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 23:38:23 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user