summaryrefslogtreecommitdiff
path: root/src/core/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/attr.c')
-rw-r--r--src/core/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/attr.c b/src/core/attr.c
index a82f117..5a85ac0 100644
--- a/src/core/attr.c
+++ b/src/core/attr.c
@@ -180,7 +180,7 @@ dom_exception dom_attr_get_value(struct dom_attr *attr,
struct dom_string *value, *temp;
dom_exception err;
- err = dom_string_create_from_const_ptr(a->owner,
+ err = dom_document_create_string(a->owner,
(const uint8_t *) "", SLEN(""), &value);
if (err != DOM_NO_ERR) {
return err;