[Asterisk-cvs] asterisk/apps app_queue.c,1.179,1.180
kpfleming
kpfleming
Thu Nov 10 18:31:51 CST 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv9961/apps
Modified Files:
app_queue.c
Log Message:
issue #5707
Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -d -r1.179 -r1.180
--- app_queue.c 8 Nov 2005 04:48:00 -0000 1.179
+++ app_queue.c 10 Nov 2005 23:22:37 -0000 1.180
@@ -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';
More information about the svn-commits
mailing list