[asterisk-commits] rmudgett: trunk r393910 - /trunk/main/xmldoc.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 9 16:06:23 CDT 2013
Author: rmudgett
Date: Tue Jul 9 16:06:21 2013
New Revision: 393910
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393910
Log:
Fix printf NULL string (null) substituion for NULL config framework default.
Modified:
trunk/main/xmldoc.c
Modified: trunk/main/xmldoc.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/xmldoc.c?view=diff&rev=393910&r1=393909&r2=393910
==============================================================================
--- trunk/main/xmldoc.c (original)
+++ trunk/main/xmldoc.c Tue Jul 9 16:06:21 2013
@@ -1181,8 +1181,8 @@
ast_str_set(&syntax, 0, "%s = [%s] (Default: %s) (Regex: %s)\n",
name,
type,
- default_value,
- regex ? regex : "False");
+ default_value ?: "n/a",
+ regex ?: "False");
ast_xml_free_attr(type);
ast_xml_free_attr(default_value);
More information about the asterisk-commits
mailing list