[svn-commits] russell: trunk r232012 - /trunk/funcs/func_lock.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Dec 1 17:38:38 CST 2009


Author: russell
Date: Tue Dec  1 17:38:34 2009
New Revision: 232012

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=232012
Log:
Fix a build error on FreeBSD.

Modified:
    trunk/funcs/func_lock.c

Modified: trunk/funcs/func_lock.c
URL: http://svnview.digium.com/svn/asterisk/trunk/funcs/func_lock.c?view=diff&rev=232012&r1=232011&r2=232012
==============================================================================
--- trunk/funcs/func_lock.c (original)
+++ trunk/funcs/func_lock.c Tue Dec  1 17:38:34 2009
@@ -93,7 +93,7 @@
 static void lock_free(void *data);
 static void lock_fixup(void *data, struct ast_channel *oldchan, struct ast_channel *newchan);
 static int unloading = 0;
-static pthread_t broker_tid = -1;
+static pthread_t broker_tid = AST_PTHREADT_NULL;
 
 static struct ast_datastore_info lock_info = {
 	.type = "MUTEX",




More information about the svn-commits mailing list