aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-08-11 22:17:46 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-08-11 22:17:46 +0000
commitbdb6501e2c48e6830779e406944951e4bd9d4900 (patch)
tree10824d04a702b98e6e0b5cd3684b9182db6748a9 /channel.c
parentd5c307e9e4cb12d8a6add87148c07b2b2122616b (diff)
Never release lock when doing a hangup or bad things can happen when masq is taking place
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1296 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index c132899b1..89a6db7c6 100755
--- a/channel.c
+++ b/channel.c
@@ -1873,7 +1873,7 @@ static int ast_do_masquerade(struct ast_channel *original)
/* We need the clone's lock, too */
ast_pthread_mutex_lock(&clone->lock);
- ast_log(LOG_DEBUG, "Got clone lock on '%s'\n", clone->name);
+ ast_log(LOG_DEBUG, "Got clone lock on '%s' at %p\n", clone->name, &clone->lock);
/* Having remembered the original read/write formats, we turn off any translation on either
one */