From 2207b9a515214bf72785eabf75bd587bd7df23e8 Mon Sep 17 00:00:00 2001 From: markster Date: Tue, 25 Jan 2005 06:10:20 +0000 Subject: Merge config updates (bug #3406) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b --- res/res_musiconhold.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'res/res_musiconhold.c') diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 599027b89..5bebf9266 100755 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -865,7 +865,7 @@ static int load_moh_classes(void) char *args; int x = 0; - cfg = ast_load("musiconhold.conf"); + cfg = ast_config_load("musiconhold.conf"); if (!cfg) return 0; @@ -897,7 +897,7 @@ static int load_moh_classes(void) var = var->next; } - ast_destroy(cfg); + ast_config_destroy(cfg); return x; } -- cgit v1.2.3