[svn-commits] qwell: branch 1.4 r70560 - /branches/1.4/cdr/cdr_pgsql.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 20 17:55:22 CDT 2007


Author: qwell
Date: Wed Jun 20 17:55:21 2007
New Revision: 70560

URL: http://svn.digium.com/view/asterisk?view=rev&rev=70560
Log:
Fix a stupid mistake in my last cdr_pgsql race condition fix

Modified:
    branches/1.4/cdr/cdr_pgsql.c

Modified: branches/1.4/cdr/cdr_pgsql.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/cdr/cdr_pgsql.c?view=diff&rev=70560&r1=70559&r2=70560
==============================================================================
--- branches/1.4/cdr/cdr_pgsql.c (original)
+++ branches/1.4/cdr/cdr_pgsql.c Wed Jun 20 17:55:21 2007
@@ -315,7 +315,7 @@
 	ast_mutex_lock(&pgsql_lock);
 	my_unload_module();
 	res = my_load_module();
-	ast_mutex_lock(&pgsql_lock);
+	ast_mutex_unlock(&pgsql_lock);
 	return res;
 }
 




More information about the svn-commits mailing list