mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
Minor tweaks with ast_moh_start() callers.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1424,7 +1424,7 @@ static int app_exec(struct ast_channel *chan, const char *data)
|
||||
if (ast_waitstream(chan, "") < 0)
|
||||
goto outrun;
|
||||
}
|
||||
ast_moh_start(chan, S_OR(targs->mohclass, NULL), NULL);
|
||||
ast_moh_start(chan, targs->mohclass, NULL);
|
||||
}
|
||||
|
||||
ast_channel_lock(chan);
|
||||
|
Reference in New Issue
Block a user