summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2006-04-15 22:53:53 +0000
committerJoshua Colp <jcolp@digium.com>2006-04-15 22:53:53 +0000
commit4657dc770c01b6cd4f86abb57b08f283523fbcd5 (patch)
tree296383c1155d0fa39668e6028e41884b18443dd4 /file.c
parent8a5436c72f026b99a6f13deb993b318673edeb31 (diff)
We are shaking up trunk tonight! allow data dir to be specified (issue #6967 reported by tzafrir)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index aba90813b..5bbcce0ec 100644
--- a/file.c
+++ b/file.c
@@ -261,7 +261,7 @@ static char *build_filename(const char *filename, const char *ext)
asprintf(&fn, "%s.%s", filename, ext);
else
asprintf(&fn, "%s/sounds/%s.%s",
- ast_config_AST_VAR_DIR, filename, ext);
+ ast_config_AST_DATA_DIR, filename, ext);
return fn;
}