mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +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:
@@ -95,7 +95,7 @@ static int sendtext_exec(struct ast_channel *chan, const char *data)
|
||||
ast_str_get_encoded_str(&str, -1, data);
|
||||
|
||||
ast_channel_lock(chan);
|
||||
if (!chan->tech->send_text) {
|
||||
if (!ast_channel_tech(chan)->send_text) {
|
||||
ast_channel_unlock(chan);
|
||||
/* Does not support transport */
|
||||
pbx_builtin_setvar_helper(chan, "SENDTEXTSTATUS", status);
|
||||
|
||||
Reference in New Issue
Block a user