summaryrefslogtreecommitdiff
path: root/src/raptor_abbrev.c
diff options
context:
space:
mode:
authorDave Beckett <dave@dajobe.org>2010-01-23 16:54:04 -0800
committerDave Beckett <dave@dajobe.org>2010-01-23 16:54:04 -0800
commit4d386ebf24a65119f334e4d5fee8857aa1e85746 (patch)
tree05b54f2d2f5cbd3344f284d54c546a40fc2eca61 /src/raptor_abbrev.c
parent42ee1eb5995c0962939ce42b254b4e5df7ddc2b2 (diff)
downloadraptor-4d386ebf24a65119f334e4d5fee8857aa1e85746.tar.gz
(raptor_new_qname_from_resource): Use raptor_new_uri_from_counted_string.
Diffstat (limited to 'src/raptor_abbrev.c')
-rw-r--r--src/raptor_abbrev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raptor_abbrev.c b/src/raptor_abbrev.c
index ed5043f7..32e76a6b 100644
--- a/src/raptor_abbrev.c
+++ b/src/raptor_abbrev.c
@@ -621,7 +621,8 @@ raptor_new_qname_from_resource(raptor_sequence* namespaces,
memcpy(ns_uri_string, (const char*)uri_string, ns_uri_string_len);
ns_uri_string[ns_uri_string_len] = '\0';
- ns_uri = raptor_new_uri(node->world, ns_uri_string);
+ ns_uri = raptor_new_uri_from_counted_string(node->world, ns_uri_string,
+ ns_uri_string_len);
RAPTOR_FREE(cstring, ns_uri_string);
if(!ns_uri)