mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +00:00
cli.c: Properly initialize debug_modules and verbose_modules.
This avoids some lock errors on the core set {debug,verbose} commands. ........ Merged revisions 386049 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 386051 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@386054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -102,9 +102,9 @@ struct module_level {
|
||||
AST_RWLIST_HEAD(module_level_list, module_level);
|
||||
|
||||
/*! list of module names and their debug levels */
|
||||
static struct module_level_list debug_modules;
|
||||
static struct module_level_list debug_modules = AST_RWLIST_HEAD_INIT_VALUE;
|
||||
/*! list of module names and their verbose levels */
|
||||
static struct module_level_list verbose_modules;
|
||||
static struct module_level_list verbose_modules = AST_RWLIST_HEAD_INIT_VALUE;
|
||||
|
||||
AST_THREADSTORAGE(ast_cli_buf);
|
||||
|
||||
|
Reference in New Issue
Block a user