[asterisk-commits] mmichelson: branch 1.4 r191629 - /branches/1.4/apps/app_chanspy.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat May 2 05:45:27 CDT 2009


Author: mmichelson
Date: Sat May  2 05:45:24 2009
New Revision: 191629

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=191629
Log:
Kevin has informed me that thi sort of thing is not necessary.


Modified:
    branches/1.4/apps/app_chanspy.c

Modified: branches/1.4/apps/app_chanspy.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/apps/app_chanspy.c?view=diff&rev=191629&r1=191628&r2=191629
==============================================================================
--- branches/1.4/apps/app_chanspy.c (original)
+++ branches/1.4/apps/app_chanspy.c Sat May  2 05:45:24 2009
@@ -508,8 +508,6 @@
 	char nameprefix[AST_NAME_STRLEN];
 	char peer_name[AST_NAME_STRLEN + 5];
 	signed char zero_volume = 0;
-	char *groups[25];
-	char dup_group[512];
 	int waitms;
 	int res;
 	char *ptr;
@@ -559,7 +557,9 @@
 			 	next_channel(chan, prev, spec, exten, context, &chanspy_ds), next_chanspy_ds = NULL) {
 			const char *group;
 			int igrp = !mygroup;
+			char *groups[25];
 			int num_groups = 0;
+			char dup_group[512];
 			int x;
 			char *s;
 




More information about the asterisk-commits mailing list