diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-15 22:53:53 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-15 22:53:53 +0000 |
commit | db5a6fcfc324f2f1d6e383d1bdcc0bcd12444eeb (patch) | |
tree | 296383c1155d0fa39668e6028e41884b18443dd4 /image.c | |
parent | ddb97bd2b53e57061116ed635c6818f6ab7ccda8 (diff) |
We are shaking up trunk tonight! allow data dir to be specified (issue #6967 reported by tzafrir)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20330 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -103,9 +103,9 @@ static void make_filename(char *buf, int len, char *filename, const char *prefla snprintf(buf, len, "%s.%s", filename, ext); } else { if (!ast_strlen_zero(preflang)) - snprintf(buf, len, "%s/%s/%s-%s.%s", ast_config_AST_VAR_DIR, "images", filename, preflang, ext); + snprintf(buf, len, "%s/%s/%s-%s.%s", ast_config_AST_DATA_DIR, "images", filename, preflang, ext); else - snprintf(buf, len, "%s/%s/%s.%s", ast_config_AST_VAR_DIR, "images", filename, ext); + snprintf(buf, len, "%s/%s/%s.%s", ast_config_AST_DATA_DIR, "images", filename, ext); } } |