[svn-commits] rmudgett: branch 1.8 r355319 - /branches/1.8/cel/cel_sqlite3_custom.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Feb 14 12:12:20 CST 2012


Author: rmudgett
Date: Tue Feb 14 12:12:16 2012
New Revision: 355319

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=355319
Log:
Fix lock typo that should be unlock in cel_sqlite_custom reload.

(closes issue ASTERISK-19356)
Reported by: Alex Villacis Lasso
Patches:
      asterisk-1.8.9.2-cel_sqlite3_custom-fix-reload-locking-typo.patch (license #5617) patch uploaded by Alex Villacis Lasso

Review: https://reviewboard.asterisk.org/r/1740/

Modified:
    branches/1.8/cel/cel_sqlite3_custom.c

Modified: branches/1.8/cel/cel_sqlite3_custom.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/cel/cel_sqlite3_custom.c?view=diff&rev=355319&r1=355318&r2=355319
==============================================================================
--- branches/1.8/cel/cel_sqlite3_custom.c (original)
+++ branches/1.8/cel/cel_sqlite3_custom.c Tue Feb 14 12:12:16 2012
@@ -353,7 +353,7 @@
 
 	ast_mutex_lock(&lock);
 	res = load_config(1);
-	ast_mutex_lock(&lock);
+	ast_mutex_unlock(&lock);
 
 	return res;
 }




More information about the svn-commits mailing list