diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-03 14:50:59 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-03 14:50:59 +0000 |
commit | 36e925fd847200e660b478e220c1a49bf3054f10 (patch) | |
tree | 53393bd56151741b2f0c0d1f32cf46f91a886796 | |
parent | 6d56a0a18951b4fd59b753c580c036941335583e (diff) |
Let's NOT spy on Zap/psuedo channels, mmmmmmmmk?
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@41830 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_chanspy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 90a8574dd..450b0a8b1 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -131,7 +131,7 @@ static struct ast_channel *local_get_channel_begin_name(char *name) 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; } |