summaryrefslogtreecommitdiffstats
path: root/src/sratom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sratom.c')
-rw-r--r--src/sratom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sratom.c b/src/sratom.c
index cffa501..882910c 100644
--- a/src/sratom.c
+++ b/src/sratom.c
@@ -106,8 +106,7 @@ sratom_set_sink(Sratom* sratom,
if (base_uri) {
serd_node_free(&sratom->base_uri);
sratom->base_uri =
- serd_node_new_uri_from_string(USTR(base_uri), NULL, NULL);
- serd_uri_parse((const uint8_t*)sratom->base_uri.buf, &sratom->base);
+ serd_node_new_uri_from_string(USTR(base_uri), NULL, &sratom->base);
}
sratom->write_statement = sink;
sratom->end_anon = end_sink;