mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 11:32:25 +00:00
Merge config updates (bug #3406)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
enum.c
4
enum.c
@@ -413,7 +413,7 @@ int ast_enum_init(void)
|
||||
free(sl);
|
||||
}
|
||||
toplevs = NULL;
|
||||
cfg = ast_load("enum.conf");
|
||||
cfg = ast_config_load("enum.conf");
|
||||
if (cfg) {
|
||||
sl = NULL;
|
||||
v = ast_variable_browse(cfg, "general");
|
||||
@@ -430,7 +430,7 @@ int ast_enum_init(void)
|
||||
}
|
||||
v = v->next;
|
||||
}
|
||||
ast_destroy(cfg);
|
||||
ast_config_destroy(cfg);
|
||||
} else {
|
||||
toplevs = enum_newtoplev(TOPLEV);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user