projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bfa05d
)
Small conversion to ast_channel_unlock
author
Olle Johansson
<oej@edvina.net>
Mon, 30 Oct 2006 18:02:37 +0000
(18:02 +0000)
committer
Olle Johansson
<oej@edvina.net>
Mon, 30 Oct 2006 18:02:37 +0000
(18:02 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46461
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
881e707
..
60415a5
100644
(file)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-13343,7
+13343,7
@@
static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
if (res) {
/* Unlock locks so ast_hangup can do its magic */
- ast_mutex_unlock(&c->lock);
+ ast_channel_unlock(c);
sip_pvt_unlock(p);
ast_hangup(c);
sip_pvt_lock(p);