[asterisk-commits] dvossel: branch dvossel/hd_confbridge r314416 - /team/dvossel/hd_confbridge/a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 20 11:44:26 CDT 2011


Author: dvossel
Date: Wed Apr 20 11:44:24 2011
New Revision: 314416

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=314416
Log:
Removes error msg for unused general section in confbridge.conf

Modified:
    team/dvossel/hd_confbridge/apps/confbridge/conf_config_parser.c

Modified: team/dvossel/hd_confbridge/apps/confbridge/conf_config_parser.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/hd_confbridge/apps/confbridge/conf_config_parser.c?view=diff&rev=314416&r1=314415&r2=314416
==============================================================================
--- team/dvossel/hd_confbridge/apps/confbridge/conf_config_parser.c (original)
+++ team/dvossel/hd_confbridge/apps/confbridge/conf_config_parser.c Wed Apr 20 11:44:24 2011
@@ -1180,7 +1180,9 @@
 
 	while ((cat = ast_category_browse(cfg, cat))) {
 		if (!(type = (ast_variable_retrieve(cfg, cat, "type")))) {
-			ast_log(LOG_WARNING, "Section '%s' lacks type\n", cat);
+			if (strcasecmp(cat, "general")) {
+				ast_log(LOG_WARNING, "Section '%s' lacks type\n", cat);
+			}
 			continue;
 		}
 		if (!strcasecmp(type, "bridge")) {




More information about the asterisk-commits mailing list