mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +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:
@@ -1728,7 +1728,7 @@ int reload_config(void)
|
||||
char *cat;
|
||||
char *utype;
|
||||
|
||||
cfg = ast_load(config);
|
||||
cfg = ast_config_load(config);
|
||||
|
||||
/* We *must* have a config file otherwise stop immediately */
|
||||
if (!cfg) {
|
||||
@@ -1867,7 +1867,7 @@ int reload_config(void)
|
||||
}
|
||||
cat = ast_category_browse(cfg, cat);
|
||||
}
|
||||
ast_destroy(cfg);
|
||||
ast_config_destroy(cfg);
|
||||
|
||||
/* Register our H.323 aliases if any*/
|
||||
while (alias) {
|
||||
|
Reference in New Issue
Block a user