diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-03 17:24:56 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-03 17:24:56 +0000 |
commit | 2cc0ea1c32b5a6da301eff9c04a3b42bd0ed7aed (patch) | |
tree | 50b036cb54846a5d4e16015c7982c7e3888b80e1 /channel.c | |
parent | 777abded5cb9b855fcad13b033ece785fe4a4971 (diff) |
revert incorrect fix for bug #6048 from revision 7709
put in correct (simpler) fix
add doxygen docs for channel spy 'state' values
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7740 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r-- | channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1024,7 +1024,7 @@ void ast_channel_spy_stop_by_type(struct ast_channel *chan, const char *type) AST_LIST_TRAVERSE(&chan->spies->list, spy, list) { ast_mutex_lock(&spy->lock); if ((spy->type == type) && (spy->status == CHANSPY_RUNNING)) { - spy->status = CHANSPY_DONE; + spy->status = CHANSPY_STOP; if (ast_test_flag(spy, CHANSPY_TRIGGER_MODE) != CHANSPY_TRIGGER_NONE) ast_cond_signal(&spy->trigger); } |