aboutsummaryrefslogtreecommitdiffstats
path: root/main/config.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-02 16:59:53 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-02 16:59:53 +0000
commitbcd2eb6fc63dc4caf06675942a73b5a651dd25a7 (patch)
tree03204de2b31fcc7e29ef1e25cda165c21cc63646 /main/config.c
parentf4692c55602887d1b3bca1dbe1e196ec529e1e98 (diff)
Merged revisions 53117 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r53117 | file | 2007-02-02 10:58:09 -0600 (Fri, 02 Feb 2007) | 2 lines 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.4@53118 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/config.c')
-rw-r--r--main/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config.c b/main/config.c
index aa74f5b30..0d95bfd8e 100644
--- a/main/config.c
+++ b/main/config.c
@@ -923,7 +923,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, withcomments)) {
+ if (process_text_line(cfg, &cat, buf, lineno, fn, withcomments)) {
cfg = NULL;
break;
}