Index: apps/app_queue.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v retrieving revision 1.179 diff -u -r1.179 app_queue.c --- apps/app_queue.c 8 Nov 2005 04:48:00 -0000 1.179 +++ apps/app_queue.c 10 Nov 2005 13:09:12 -0000 @@ -2720,7 +2720,7 @@ 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 @@ 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';