diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-02 16:58:09 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-02 16:58:09 +0000 |
commit | 8d68ea3d42ef1bcecf2a8f23ab73e875cc529132 (patch) | |
tree | 9b1a79e271df07007877961fc6679d0a73fe3ca6 | |
parent | 5df26164a6048aa40b4259d4a22b3d35a3ebdf5d (diff) |
Pass the glob expanded filename to process_text_line so that error messages contain the actual filename, not the original include one. (issue #8959 reported by tzafrir)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53117 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -651,7 +651,7 @@ static struct ast_config *config_text_file_load(const char *database, const char if (process_buf) { char *buf = ast_strip(process_buf); if (!ast_strlen_zero(buf)) { - if (process_text_line(cfg, &cat, buf, lineno, filename)) { + if (process_text_line(cfg, &cat, buf, lineno, fn)) { cfg = NULL; break; } |