[asterisk-commits] bweschke: branch 1.2 r41830 - /branches/1.2/apps/app_chanspy.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Sep 3 07:50:59 MST 2006


Author: bweschke
Date: Sun Sep  3 09:50:59 2006
New Revision: 41830

URL: http://svn.digium.com/view/asterisk?rev=41830&view=rev
Log:
 Let's NOT spy on Zap/psuedo channels, mmmmmmmmk? 


Modified:
    branches/1.2/apps/app_chanspy.c

Modified: branches/1.2/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_chanspy.c?rev=41830&r1=41829&r2=41830&view=diff
==============================================================================
--- branches/1.2/apps/app_chanspy.c (original)
+++ branches/1.2/apps/app_chanspy.c Sun Sep  3 09:50:59 2006
@@ -131,7 +131,7 @@
 	ast_mutex_lock(&modlock);
 	chan = local_channel_walk(NULL);
 	while (chan) {
-		if (!strncmp(chan->name, name, strlen(name))) {
+		if (!strncmp(chan->name, name, strlen(name)) && strncmp(chan->name, "Zap/pseudo", 10)) {
 			ret = chan;
 			break;
 		}



More information about the asterisk-commits mailing list