summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2012-02-06 18:07:49 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2012-02-06 18:07:49 +0000
commitdfca9f84b62e6021fe2d3c86a99fdc6f03f9984c (patch)
tree6812dc078c355f5aadbe65af1c5f83ac3918443d
parent166d150659dc51abe374478ec45d95a493f6168e (diff)
downloadlibdom-dfca9f84b62e6021fe2d3c86a99fdc6f03f9984c.tar.gz
libdom-dfca9f84b62e6021fe2d3c86a99fdc6f03f9984c.tar.bz2
Intern attribute name
svn path=/trunk/libdom/; revision=13429
-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;