diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-11 22:17:46 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-11 22:17:46 +0000 |
commit | bdb6501e2c48e6830779e406944951e4bd9d4900 (patch) | |
tree | 10824d04a702b98e6e0b5cd3684b9182db6748a9 /channel.c | |
parent | d5c307e9e4cb12d8a6add87148c07b2b2122616b (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-x | channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |