[asterisk-commits] file: trunk r85820 - /trunk/main/threadstorage.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 16 09:27:28 CDT 2007


Author: file
Date: Tue Oct 16 09:27:27 2007
New Revision: 85820

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85820
Log:
Permit building under DEBUG_THREADLOCALS. Thanks snuff.

Modified:
    trunk/main/threadstorage.c

Modified: trunk/main/threadstorage.c
URL: http://svn.digium.com/view/asterisk/trunk/main/threadstorage.c?view=diff&rev=85820&r1=85819&r2=85820
==============================================================================
--- trunk/main/threadstorage.c (original)
+++ trunk/main/threadstorage.c Tue Oct 16 09:27:27 2007
@@ -160,6 +160,7 @@
 		unsigned int count;
 		AST_LIST_ENTRY(file) entry;
 	} *file;
+	AST_LIST_HEAD_NOLOCK_STATIC(file_summary, file);
 
 	switch (cmd) {
 	case CLI_INIT:
@@ -175,8 +176,6 @@
 
 	if (a->argc > 4)
 		return CLI_SHOWUSAGE;
-
-	AST_LIST_HEAD_NOLOCK_STATIC(file_summary, file);
 
 	if (a->argc > 3)
 		fn = a->argv[3];




More information about the asterisk-commits mailing list