From 5f726ad8c72afd54c2909f25f2eab36e937321ab Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Tue, 25 Jan 2005 06:10:20 +0000 Subject: Merge config updates (bug #3406) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- cdr/cdr_pgsql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cdr/cdr_pgsql.c') diff --git a/cdr/cdr_pgsql.c b/cdr/cdr_pgsql.c index 65e045402..efad07c7b 100755 --- a/cdr/cdr_pgsql.c +++ b/cdr/cdr_pgsql.c @@ -330,13 +330,13 @@ static int my_load_module(void) { struct ast_config *cfg; int res; - cfg = ast_load(config); + cfg = ast_config_load(config); if (!cfg) { ast_log(LOG_WARNING, "Unable to load config for PostgreSQL CDR's: %s\n", config); return 0; } res = process_my_load_module(cfg); - ast_destroy(cfg); + ast_config_destroy(cfg); return res; } -- cgit v1.2.3