aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-08 17:31:09 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-08 17:31:09 +0000
commit7504988d823554b41858df3f536451f07712bf67 (patch)
treedfc12f78df8d9118172493ab5e8e7191e612262c
parent55bc25751adf5da6589b84bcdb19a2c9beb5528f (diff)
Fix improper config dir path (bug #4184)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5607 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index b38dc54e0..6a86b6ea1 100755
--- a/config.c
+++ b/config.c
@@ -689,7 +689,7 @@ int config_text_file_save(const char *configfile, const struct ast_config *cfg,
if (configfile[0] == '/') {
strncpy(fn, configfile, sizeof(fn)-1);
} else {
- snprintf(fn, sizeof(fn), "%s/%s", AST_CONFIG_DIR, configfile);
+ snprintf(fn, sizeof(fn), "%s/%s", ast_config_AST_CONFIG_DIR, configfile);
}
time(&t);
strncpy(date, ctime(&t), sizeof(date) - 1);