summaryrefslogtreecommitdiff
path: root/examples/dom-structure-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dom-structure-dump.c')
-rw-r--r--examples/dom-structure-dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dom-structure-dump.c b/examples/dom-structure-dump.c
index 91cfda2..4379ea5 100644
--- a/examples/dom-structure-dump.c
+++ b/examples/dom-structure-dump.c
@@ -155,7 +155,7 @@ bool dump_dom_element_attribute(dom_node_internal *node, char *attribute)
assert(type == DOM_ELEMENT_NODE);
/* Create a dom_string containing required attribute name. */
- exc = dom_string_create((uint8_t *)attribute, strlen(attribute), &attr);
+ exc = dom_string_create_interned((uint8_t *)attribute, strlen(attribute), &attr);
if (exc != DOM_NO_ERR) {
printf(" Exception raised for dom_string_create\n");
return false;