summaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'logger.c')
-rwxr-xr-xlogger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/logger.c b/logger.c
index 607e9213a..d9e5dfd32 100755
--- a/logger.c
+++ b/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);
}