aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_musiconhold.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-25 06:10:20 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-25 06:10:20 +0000
commit2207b9a515214bf72785eabf75bd587bd7df23e8 (patch)
tree5e740f79246c281ef1bc43bcffc87fd21f676005 /res/res_musiconhold.c
parentc7f2030d7977ded782c6430a33e57bbbb69cd6df (diff)
Merge config updates (bug #3406)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_musiconhold.c')
-rwxr-xr-xres/res_musiconhold.c4
1 files changed, 2 insertions, 2 deletions
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;
}