[svn-commits] qwell: branch 1.2 r46332 - /branches/1.2/channels/chan_skinny.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Oct 26 10:08:41 MST 2006


Author: qwell
Date: Thu Oct 26 12:08:40 2006
New Revision: 46332

URL: http://svn.digium.com/view/asterisk?rev=46332&view=rev
Log:
Remove a useless ast_mutex_unlock.
Issue #8186, patch by anthonyl (fix suggested by benh).

Modified:
    branches/1.2/channels/chan_skinny.c

Modified: branches/1.2/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_skinny.c?rev=46332&r1=46331&r2=46332&view=diff
==============================================================================
--- branches/1.2/channels/chan_skinny.c (original)
+++ branches/1.2/channels/chan_skinny.c Thu Oct 26 12:08:40 2006
@@ -2872,7 +2872,6 @@
 		}
 		*(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;



More information about the svn-commits mailing list