[asterisk-commits] trunk - r7518 /trunk/apps/app_chanspy.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Dec 17 11:22:25 CST 2005


Author: tilghman
Date: Sat Dec 17 11:22:24 2005
New Revision: 7518

URL: http://svn.digium.com/view/asterisk?rev=7518&view=rev
Log:
Merged revisions 7517 via svnmerge from
/branches/1.2

Modified:
    trunk/apps/app_chanspy.c

Modified: trunk/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanspy.c?rev=7518&r1=7517&r2=7518&view=diff
==============================================================================
--- trunk/apps/app_chanspy.c (original)
+++ trunk/apps/app_chanspy.c Sat Dec 17 11:22:24 2005
@@ -482,7 +482,7 @@
 					}
 				}
 				
-				if (igrp && (!spec || ((strlen(spec) < strlen(peer->name) &&
+				if (igrp && (!spec || ((strlen(spec) <= strlen(peer->name) &&
 							!strncasecmp(peer->name, spec, strlen(spec)))))) {
 					if (peer && (!bronly || ast_bridged_channel(peer)) &&
 					    !ast_check_hangup(peer) && !ast_test_flag(peer, AST_FLAG_SPYING)) {



More information about the asterisk-commits mailing list