mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +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:
@@ -558,9 +558,9 @@ static void *linear_alloc(struct ast_channel *chan, void *params)
|
||||
|
||||
/* In this case, params is already malloc'd */
|
||||
if (ls->allowoverride) {
|
||||
ast_set_flag(chan, AST_FLAG_WRITE_INT);
|
||||
ast_set_flag(ast_channel_flags(chan), AST_FLAG_WRITE_INT);
|
||||
} else {
|
||||
ast_clear_flag(chan, AST_FLAG_WRITE_INT);
|
||||
ast_clear_flag(ast_channel_flags(chan), AST_FLAG_WRITE_INT);
|
||||
}
|
||||
|
||||
ast_format_copy(&ls->origwfmt, ast_channel_writeformat(chan));
|
||||
|
||||
Reference in New Issue
Block a user