Merged revisions 132107 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 18 Jul 2008 18:50:37 +0000 (18:50 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 18 Jul 2008 18:50:37 +0000 (18:50 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r132107 | tilghman | 2008-07-18 13:47:50 -0500 (Fri, 18 Jul 2008) | 6 lines

Textual clarification
(closes issue #13106)
 Reported by: flefoll
 Patches:
       config.c.br14.120173.patch-unknown-directive uploaded by flefoll (license 244)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@132109 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/config.c

index f765da1..62ab5db 100644 (file)
@@ -1028,7 +1028,7 @@ static int process_text_line(struct ast_config *cfg, struct ast_category **cat,
                                return 0;       /* XXX is this correct ? or we should return -1 ? */
                        }
                } else {
-                       ast_log(LOG_WARNING, "Unknown directive '%s' at line %d of %s\n", cur, lineno, configfile);
+                       ast_log(LOG_WARNING, "Unknown directive '#%s' at line %d of %s\n", cur, lineno, configfile);
                        return 0;       /* XXX is this correct ? or we should return -1 ? */
                }