From 54dd7ac9fa8fef2699a93234e38c18a005e880a7 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Thu, 10 Nov 2005 23:22:37 +0000 Subject: issue #5707 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7053 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') 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'; -- cgit v1.2.3