diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-07 14:11:49 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-04-07 14:11:49 +0000 |
commit | 7998e161e794665532325764c9ab310839e93b69 (patch) | |
tree | 1d1089f16035a91460fcc838fbd0e8972bb3af55 /channels/chan_zap.c | |
parent | 7db49553a1b3933c9aaf7079fe02f91bf874a635 (diff) |
Don't say we're unable to find the channel if we're able to find it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2646 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-x | channels/chan_zap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 7cf148145..c0af6cf35 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -7132,6 +7132,8 @@ static int zap_show_channel(int fd, int argc, char **argv) } else { ast_cli(fd, "Actual Hookstate: %s\n", ps.rxisoffhook ? "Offhook" : "Onhook"); } + ast_mutex_unlock(&iflock); + return RESULT_SUCCESS; } tmp = tmp->next; } |