]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Pass the glob expanded filename to process_text_line so that error messages contain...
authorJoshua Colp <jcolp@digium.com>
Fri, 2 Feb 2007 16:58:09 +0000 (16:58 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 2 Feb 2007 16:58:09 +0000 (16:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53117 65c4cc65-6c06-0410-ace0-fbb531ad65f3

config.c

index 989cd0b15b692fab559f4294f29e1469802f42fc..75b3f6ee7106806624d569d541ba21c73df6b5f8 100644 (file)
--- a/config.c
+++ b/config.c
@@ -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;
                                                }