mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 11:32:25 +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:
@@ -79,7 +79,7 @@ static int flash_exec(struct ast_channel *chan, const char *data)
|
||||
int x;
|
||||
struct dahdi_params dahdip;
|
||||
|
||||
if (strcasecmp(chan->tech->type, "DAHDI")) {
|
||||
if (strcasecmp(ast_channel_tech(chan)->type, "DAHDI")) {
|
||||
ast_log(LOG_WARNING, "%s is not a DAHDI channel\n", ast_channel_name(chan));
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user