Remove a useless ast_mutex_unlock.

Issue #8186, patch by anthonyl (fix suggested by benh).


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2006-10-26 17:08:40 +00:00
parent 67f0e37177
commit 34934b48fe

View File

@@ -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;