[asterisk-commits] mvanbaak: trunk r216437 - /trunk/include/asterisk/lock.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 4 09:00:41 CDT 2009


Author: mvanbaak
Date: Fri Sep  4 09:00:38 2009
New Revision: 216437

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=216437
Log:
make sure canlog is set so we can compile with DEBUG_THREADS enabled on OpenBSD

Modified:
    trunk/include/asterisk/lock.h

Modified: trunk/include/asterisk/lock.h
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/include/asterisk/lock.h?view=diff&rev=216437&r1=216436&r2=216437
==============================================================================
--- trunk/include/asterisk/lock.h (original)
+++ trunk/include/asterisk/lock.h Fri Sep  4 09:00:38 2009
@@ -1556,6 +1556,7 @@
 {
 	int res;
 	struct ast_lock_track *lt = &t->track;
+	int canlog = strcmp(filename, "logger.c") & t->tracking;
 #ifdef HAVE_BKTR
 	struct ast_bt *bt = NULL;
 #endif
@@ -1614,6 +1615,7 @@
 {
 	int res;
 	struct ast_lock_track *lt= &t->track;
+	int canlog = strcmp(filename, "logger.c") & t->tracking;
 #ifdef HAVE_BKTR
 	struct ast_bt *bt = NULL;
 #endif




More information about the asterisk-commits mailing list