mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
issue #5707
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2720,7 +2720,7 @@ static int rqm_exec(struct ast_channel *chan, void *data)
|
||||
AST_STANDARD_APP_ARGS(args, parse);
|
||||
|
||||
if (ast_strlen_zero(args.interface)) {
|
||||
ast_copy_string(args.interface, chan->name, sizeof(args.interface));
|
||||
args.interface = ast_strdupa(chan->name);
|
||||
temppos = strrchr(args.interface, '-');
|
||||
if (temppos)
|
||||
*temppos = '\0';
|
||||
@@ -2788,7 +2788,7 @@ static int aqm_exec(struct ast_channel *chan, void *data)
|
||||
AST_STANDARD_APP_ARGS(args, parse);
|
||||
|
||||
if (ast_strlen_zero(args.interface)) {
|
||||
ast_copy_string(args.interface, chan->name, sizeof(args.interface));
|
||||
args.interface = ast_strdupa(chan->name);
|
||||
temppos = strrchr(args.interface, '-');
|
||||
if (temppos)
|
||||
*temppos = '\0';
|
||||
|
Reference in New Issue
Block a user