diff options
Diffstat (limited to 'res/res_musiconhold.c')
-rwxr-xr-x | res/res_musiconhold.c | 4 |
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; } |