From dfca9f84b62e6021fe2d3c86a99fdc6f03f9984c Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 6 Feb 2012 18:07:49 +0000 Subject: Intern attribute name svn path=/trunk/libdom/; revision=13429 --- examples/dom-structure-dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/dom-structure-dump.c') 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; -- cgit v1.2.3