mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +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:
@@ -288,7 +288,7 @@ static int pickup_exec(struct ast_channel *chan, const char *data)
|
||||
return -1;
|
||||
}
|
||||
} else {
|
||||
if (!pickup_by_exten(chan, exten, !ast_strlen_zero(context) ? context : chan->context)) {
|
||||
if (!pickup_by_exten(chan, exten, !ast_strlen_zero(context) ? context : ast_channel_context(chan))) {
|
||||
/* Pickup successful. Stop the dialplan this channel is a zombie. */
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user