diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2012-02-06 18:07:49 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2012-02-06 18:07:49 +0000 |
commit | dfca9f84b62e6021fe2d3c86a99fdc6f03f9984c (patch) | |
tree | 6812dc078c355f5aadbe65af1c5f83ac3918443d /examples/dom-structure-dump.c | |
parent | 166d150659dc51abe374478ec45d95a493f6168e (diff) | |
download | libdom-dfca9f84b62e6021fe2d3c86a99fdc6f03f9984c.tar.gz libdom-dfca9f84b62e6021fe2d3c86a99fdc6f03f9984c.tar.bz2 |
Intern attribute name
svn path=/trunk/libdom/; revision=13429
Diffstat (limited to 'examples/dom-structure-dump.c')
-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 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; |