mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 23:38:23 +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:
@@ -1410,7 +1410,7 @@ int ast_waitstream_exten(struct ast_channel *c, const char *context)
|
||||
/* in the current or specified context being pressed */
|
||||
|
||||
if (!context)
|
||||
context = c->context;
|
||||
context = ast_channel_context(c);
|
||||
return waitstream_core(c, NULL, NULL, NULL, 0,
|
||||
-1, -1, context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user