aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_skinny.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-26 17:08:40 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-26 17:08:40 +0000
commit966729237f99d2f608a19340c8a5cafca43c7faf (patch)
treec5da3d71a62365f8c2dfb081f85714e11f94105b /channels/chan_skinny.c
parent68a9a323aa27f9c548b9258557274ecbcbd3960d (diff)
Remove a useless ast_mutex_unlock.
Issue #8186, patch by anthonyl (fix suggested by benh). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46332 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r--channels/chan_skinny.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index 8291f8b7b..5f875104f 100644
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -2872,7 +2872,6 @@ static int get_input(struct skinnysession *s)
}
*(int *)s->inbuf = htolel(dlen);
res = read(s->fd, s->inbuf+4, dlen+4);
- ast_mutex_unlock(&s->lock);
if (res != (dlen+4)) {
ast_log(LOG_WARNING, "Skinny Client sent less data than expected.\n");
return -1;