mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Opaquify char * and char[] in ast_channel
Review: https://reviewboard.asterisk.org/r/1733/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -578,9 +578,9 @@ static struct ast_channel *alsa_new(struct chan_alsa_pvt *p, int state, const ch
|
||||
|
||||
tmp->tech_pvt = p;
|
||||
if (!ast_strlen_zero(p->context))
|
||||
ast_copy_string(tmp->context, p->context, sizeof(tmp->context));
|
||||
ast_channel_context_set(tmp, p->context);
|
||||
if (!ast_strlen_zero(p->exten))
|
||||
ast_copy_string(tmp->exten, p->exten, sizeof(tmp->exten));
|
||||
ast_channel_exten_set(tmp, p->exten);
|
||||
if (!ast_strlen_zero(language))
|
||||
ast_channel_language_set(tmp, language);
|
||||
p->owner = tmp;
|
||||
|
Reference in New Issue
Block a user