summaryrefslogtreecommitdiff
path: root/main/xmldoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/xmldoc.c')
-rw-r--r--main/xmldoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/xmldoc.c b/main/xmldoc.c
index 395df8ea0..e334e878e 100644
--- a/main/xmldoc.c
+++ b/main/xmldoc.c
@@ -1239,7 +1239,7 @@ static char *xmldoc_get_syntax_config_option(struct ast_xml_node *fixnode, const
regex = ast_xml_get_attribute(fixnode, "regex");
ast_str_set(&syntax, 0, "%s = [%s] (Default: %s) (Regex: %s)\n",
name,
- type,
+ type ?: "",
default_value ?: "n/a",
regex ?: "False");