aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-11 03:26:51 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-11 03:26:51 +0000
commit949268e14c69782e1798ec587639a95e0aa4ce76 (patch)
tree14984c237b0de26ed50584713f5de84b05e1b747 /config.c
parent4314109f556b7a6a6147541de3d6044e4c6c5869 (diff)
fix ast config path (bug #4184)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@5624 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'config.c')
-rwxr-xr-xconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 41c53b6b6..4e435881a 100755
--- a/config.c
+++ b/config.c
@@ -662,7 +662,7 @@ int ast_save(char *configfile, struct ast_config *cfg, char *generator)
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);