From: Russell Bryant Date: Wed, 11 May 2005 03:26:51 +0000 (+0000) Subject: fix ast config path (bug #4184) X-Git-Tag: 1.0.11.1~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9fd6fca9e1673a36a0527627d6df8d87782c3fb;p=thirdparty%2Fasterisk.git fix ast config path (bug #4184) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5624 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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);