mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 05:40:52 +00:00
Fix printf NULL string (null) substituion for NULL config framework default.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1181,8 +1181,8 @@ static char *xmldoc_get_syntax_config_option(struct ast_xml_node *fixnode, const
|
|||||||
ast_str_set(&syntax, 0, "%s = [%s] (Default: %s) (Regex: %s)\n",
|
ast_str_set(&syntax, 0, "%s = [%s] (Default: %s) (Regex: %s)\n",
|
||||||
name,
|
name,
|
||||||
type,
|
type,
|
||||||
default_value,
|
default_value ?: "n/a",
|
||||||
regex ? regex : "False");
|
regex ?: "False");
|
||||||
|
|
||||||
ast_xml_free_attr(type);
|
ast_xml_free_attr(type);
|
||||||
ast_xml_free_attr(default_value);
|
ast_xml_free_attr(default_value);
|
||||||
|
Reference in New Issue
Block a user