diff options
author | Mark Spencer <markster@digium.com> | 2005-01-25 06:10:20 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-01-25 06:10:20 +0000 |
commit | 5f726ad8c72afd54c2909f25f2eab36e937321ab (patch) | |
tree | 5e740f79246c281ef1bc43bcffc87fd21f676005 /apps/app_directory.c | |
parent | a611ce04f16e647cf072a380579cb3d64c538645 (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 'apps/app_directory.c')
-rwxr-xr-x | apps/app_directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c index eab10a3fc..8404d5269 100755 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -351,7 +351,7 @@ static int directory_exec(struct ast_channel *chan, void *data) ast_log(LOG_WARNING, "directory requires an argument (context[,dialcontext])\n"); return -1; } - cfg = ast_load(DIRECTORY_CONFIG); + cfg = ast_config_load(DIRECTORY_CONFIG); if (!cfg) { ast_log(LOG_WARNING, "Unable to open directory configuration %s\n", DIRECTORY_CONFIG); return -1; @@ -400,7 +400,7 @@ top: } } } - ast_destroy(cfg); + ast_config_destroy(cfg); LOCAL_USER_REMOVE(u); return res; } |