projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b33a3aa
)
Fix improper config dir path (bug #4184)
author
Mark Spencer
<markster@digium.com>
Sun, 8 May 2005 17:31:09 +0000
(17:31 +0000)
committer
Mark Spencer
<markster@digium.com>
Sun, 8 May 2005 17:31:09 +0000
(17:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5607
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
config.c
patch
|
blob
|
history
diff --git
a/config.c
b/config.c
index
b38dc54
..
6a86b6e
100755
(executable)
--- 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);