[asterisk-commits] mmichelson: trunk r89332 - /trunk/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 16 13:51:48 CST 2007


Author: mmichelson
Date: Fri Nov 16 13:51:47 2007
New Revision: 89332

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89332
Log:
Fixing a problem pointed out by Qwell


Modified:
    trunk/main/manager.c

Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=89332&r1=89331&r2=89332
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Fri Nov 16 13:51:47 2007
@@ -2403,7 +2403,7 @@
 			sleep(1);
 			ast_mutex_lock(&s->__lock);
 			astman_send_error(s, m, "Login Already In Use");
-			ast_mutex_lock(&s->__lock);
+			ast_mutex_unlock(&s->__lock);
 			return -1;
 		}
 	}




More information about the asterisk-commits mailing list