From a9fd6fca9e1673a36a0527627d6df8d87782c3fb Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 11 May 2005 03:26:51 +0000 Subject: [PATCH] fix ast config path (bug #4184) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5624 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 41c53b6b6f..4e435881a6 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);