[Home]

Summary:ASTERISK-12408: [patch] Warning on unknown config directive #something
Reporter:Frederic LE FOLL (flefoll)Labels:
Date Opened:2008-07-18 03:40:16Date Closed:2008-07-18 13:40:18
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) config.c.br14.120173.patch-unknown-directive
( 1) config.c.tr.120789.patch-unknown-directive
Description:config.c:process_text_line() generates a warning when it finds an unknown directive "#something" while parsing config files (where "something" is not include or exec).
But the warning says "Unknown directive 'something'", when "Unknown directive '#something'" would be be explicit, and consistant with other warnings.

I will propose a patch for branch 1.4 and trunk (applicable to branch 1.6.0 too).
Comments:By: Digium Subversion (svnbot) 2008-07-18 13:40:11

Repository: asterisk
Revision: 132107

U   branches/1.4/main/config.c

------------------------------------------------------------------------
r132107 | tilghman | 2008-07-18 13:40:06 -0500 (Fri, 18 Jul 2008) | 6 lines

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

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=132107