summaryrefslogtreecommitdiff
path: root/res/res_odbc.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-01-25 06:10:20 +0000
committerMark Spencer <markster@digium.com>2005-01-25 06:10:20 +0000
commit5f726ad8c72afd54c2909f25f2eab36e937321ab (patch)
tree5e740f79246c281ef1bc43bcffc87fd21f676005 /res/res_odbc.c
parenta611ce04f16e647cf072a380579cb3d64c538645 (diff)
Merge config updates (bug #3406)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_odbc.c')
-rwxr-xr-xres/res_odbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_odbc.c b/res/res_odbc.c
index 4e498e7b2..f843860aa 100755
--- a/res/res_odbc.c
+++ b/res/res_odbc.c
@@ -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;
}