git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41960
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
ast_deactivate_generator(chan);
/* If a channel still exists on our spy structure then we need to remove ourselves */
- if (csth.spy.chan) {
- csth.spy.status = CHANSPY_DONE;
- ast_channel_spy_remove(csth.spy.chan, &csth.spy);
- }
+ if (csth.spy.chan) {
+ csth.spy.status = CHANSPY_DONE;
+ ast_channel_spy_remove(csth.spy.chan, &csth.spy);
+ }
ast_channel_spy_free(&csth.spy);
if (option_verbose >= 2)