diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dom-structure-dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dom-structure-dump.c b/examples/dom-structure-dump.c index c505cd8..a247186 100644 --- a/examples/dom-structure-dump.c +++ b/examples/dom-structure-dump.c @@ -237,7 +237,7 @@ bool dump_dom_element(dom_node *node, int depth) /* Get string data and print element name */ string = dom_string_data(node_name); length = dom_string_byte_length(node_name); - printf("%.*s", (int)length, string); + printf("[%.*s]", (int)length, string); /* Finished with the node_name dom_string */ dom_string_unref(node_name); |