diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-22 22:01:20 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-22 22:01:20 +0000 |
commit | dee96beeb40e5cbb935c1d98ecb362b5de76d003 (patch) | |
tree | e5b05d42812f84ca90fceb3b44b9c238d0ec0862 /channel.c | |
parent | f299b4f1fcacf2953c914dc676b299fc3d27de0a (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |