diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-04 17:45:14 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-04 17:45:14 +0000 |
commit | 62bbaefff929b8288ca7f7a43501975a548a9def (patch) | |
tree | d5f16432e9d3b213ccad4020474732bc843320c0 /apps/app_chanspy.c | |
parent | 009cddba581c38d0f13e6a5ad2b03076f2589671 (diff) |
Merged revisions 173396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r173396 | mmichelson | 2009-02-04 11:44:48 -0600 (Wed, 04 Feb 2009) | 3 lines
Revert my previous change because it was stupid
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@173397 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_chanspy.c')
-rw-r--r-- | apps/app_chanspy.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index f21a051a3..f537875bc 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -456,10 +456,8 @@ static int channel_spy(struct ast_channel *chan, struct chanspy_ds *spyee_chansp } ast_mutex_unlock(&spyee_chanspy_ds->lock); - if (!spyee) { - ast_channel_unlock(spyee); + if (!spyee) return 0; - } /* We now hold the channel lock on spyee */ |