[Asterisk-cvs] asterisk-addons cdr_addon_mysql.c,1.3,1.4
malcolmd at lists.digium.com
malcolmd at lists.digium.com
Wed Jun 9 13:44:10 CDT 2004
Update of /usr/cvsroot/asterisk-addons
In directory mongoose.digium.com:/tmp/cvs-serv17096
Modified Files:
cdr_addon_mysql.c
Log Message:
Bug # 1411: More FreeBSD locking fixes
Index: cdr_addon_mysql.c
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/cdr_addon_mysql.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cdr_addon_mysql.c 29 Jan 2004 17:35:15 -0000 1.3
+++ cdr_addon_mysql.c 9 Jun 2004 18:47:17 -0000 1.4
@@ -47,7 +47,7 @@
static int totalrecords = 0;
static int userfield = 0;
-static ast_mutex_t mysql_lock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(mysql_lock);
static MYSQL mysql;
More information about the svn-commits
mailing list