diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-10 23:22:37 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-10 23:22:37 +0000 |
commit | 91c9adf438e5550c4ed3eedf64101292b67d04b4 (patch) | |
tree | 2b2f5eb22207e488660861645095867e88b91152 /apps | |
parent | d6e2d41e4ec60d28dc618283ef500df39a39cd9c (diff) |
issue #5707
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7053 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 5d8b4bc4f..ef8a1b2b7 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -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'; |