[svn-commits] mmichelson: branch 1.4 r114226 - /branches/1.4/apps/app_chanspy.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Apr 17 16:03:30 CDT 2008


Author: mmichelson
Date: Thu Apr 17 16:03:29 2008
New Revision: 114226

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114226
Log:
Declaration of the peer channel in this scope was making it so the peer variable defined
in the outer scope was never set properly, therefore making iterating through the channel
list always restart from the beginning. This bug would have affected anyone who called
chanspy without specifying a first argument.

(closes issue #12461)
Reported by: stever28


Modified:
    branches/1.4/apps/app_chanspy.c

Modified: branches/1.4/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_chanspy.c?view=diff&rev=114226&r1=114225&r2=114226
==============================================================================
--- branches/1.4/apps/app_chanspy.c (original)
+++ branches/1.4/apps/app_chanspy.c Thu Apr 17 16:03:29 2008
@@ -543,7 +543,6 @@
 			char *dup_group;
 			int x;
 			char *s;
-			struct ast_channel *peer;
 
 			peer = peer_chanspy_ds->chan;
 




More information about the svn-commits mailing list