mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-04 05:15:22 +00:00 
			
		
		
		
	Logger: Fix MALLOC_DEBUG build error.
Revision 432834 introduced a build error when MALLOC_DEBUG is used. Switch callid threadstorage to simple AST_THREADSTORAGE since we no longer need custom cleanup. Reported by: Corey Farrell git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		@@ -85,7 +85,7 @@ static int logger_initialized;
 | 
			
		||||
static volatile int next_unique_callid = 1; /* Used to assign unique call_ids to calls */
 | 
			
		||||
static int display_callids;
 | 
			
		||||
 | 
			
		||||
AST_THREADSTORAGE_CUSTOM(unique_callid, NULL, ast_free);
 | 
			
		||||
AST_THREADSTORAGE(unique_callid);
 | 
			
		||||
 | 
			
		||||
static enum rotatestrategy {
 | 
			
		||||
	NONE = 0,                /* Do not rotate log files at all, instead rely on external mechanisms */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user