mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Merge config updates (bug #3406)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
logger.c
4
logger.c
@@ -267,7 +267,7 @@ static void init_logger_chain(void)
|
||||
/* close syslog */
|
||||
closelog();
|
||||
|
||||
cfg = ast_load("logger.conf");
|
||||
cfg = ast_config_load("logger.conf");
|
||||
|
||||
/* If no config file, we're fine */
|
||||
if (!cfg)
|
||||
@@ -299,7 +299,7 @@ static void init_logger_chain(void)
|
||||
var = var->next;
|
||||
}
|
||||
|
||||
ast_destroy(cfg);
|
||||
ast_config_destroy(cfg);
|
||||
ast_mutex_unlock(&loglock);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user