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:
@@ -93,7 +93,7 @@ static int load_odbc_config(void)
|
||||
|
||||
odbc_obj *obj;
|
||||
|
||||
config = ast_load(cfg);
|
||||
config = ast_config_load(cfg);
|
||||
if (config) {
|
||||
for (cat = ast_category_browse(config, NULL); cat; cat=ast_category_browse(config, cat)) {
|
||||
if (!strcmp(cat, "ENV")) {
|
||||
@@ -140,7 +140,7 @@ static int load_odbc_config(void)
|
||||
|
||||
}
|
||||
}
|
||||
ast_destroy(config);
|
||||
ast_config_destroy(config);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user