aboutsummaryrefslogtreecommitdiffstats
path: root/src/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/write.c')
-rw-r--r--src/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/write.c b/src/write.c
index 893062ef..95b2c2f2 100644
--- a/src/write.c
+++ b/src/write.c
@@ -142,7 +142,7 @@ serd_write_node(SerdWriter writer,
fwrite(">", 1, 1, fd);
break;
case URI:
- if (serd_uri_string_is_relative(str->buf)) {
+ if (!serd_uri_string_has_scheme(str->buf)) {
SerdURI uri;
if (serd_uri_parse(str->buf, &uri)) {
SerdURI abs_uri;