mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 10:51:40 +00:00
ast_channel opaquification of pointers and integral types
Review: https://reviewboard.asterisk.org/r/1753/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -52,8 +52,8 @@ static const char nocdr_app[] = "NoCDR";
|
||||
|
||||
static int nocdr_exec(struct ast_channel *chan, const char *data)
|
||||
{
|
||||
if (chan->cdr)
|
||||
ast_set_flag(chan->cdr, AST_CDR_FLAG_POST_DISABLED);
|
||||
if (ast_channel_cdr(chan))
|
||||
ast_set_flag(ast_channel_cdr(chan), AST_CDR_FLAG_POST_DISABLED);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user