aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-22 22:01:20 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-22 22:01:20 +0000
commitdee96beeb40e5cbb935c1d98ecb362b5de76d003 (patch)
treee5b05d42812f84ca90fceb3b44b9c238d0ec0862 /channel.c
parentf299b4f1fcacf2953c914dc676b299fc3d27de0a (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@43516 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index 69c794c66..a823e67ca 100644
--- a/channel.c
+++ b/channel.c
@@ -1020,7 +1020,7 @@ int ast_channel_spy_add(struct ast_channel *chan, struct ast_channel_spy *spy)
/* Clean up a channel's spy information */
static void spy_cleanup(struct ast_channel *chan)
{
- if (AST_LIST_EMPTY(&chan->spies->list))
+ if (AST_LIST_FIRST(&chan->spies->list))
return;
if (chan->spies->read_translator.path)
ast_translator_free_path(chan->spies->read_translator.path);