projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e25d80
)
Fix printf NULL string (null) substituion for NULL config framework default.
author
Richard Mudgett
<rmudgett@digium.com>
Tue, 9 Jul 2013 21:06:21 +0000
(21:06 +0000)
committer
Richard Mudgett
<rmudgett@digium.com>
Tue, 9 Jul 2013 21:06:21 +0000
(21:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393910
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/xmldoc.c
patch
|
blob
|
history
diff --git
a/main/xmldoc.c
b/main/xmldoc.c
index
2dd3432
..
542b77e
100644
(file)
--- a/
main/xmldoc.c
+++ b/
main/xmldoc.c
@@
-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",
name,
type,
- default_value,
- regex ? regex : "False");
+ default_value ?: "n/a",
+ regex ?: "False");
ast_xml_free_attr(type);
ast_xml_free_attr(default_value);