aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/writer.c b/src/writer.c
index dd1d3f7a..44d88b99 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -220,12 +220,11 @@ write_node(SerdWriter writer,
SerdURI uri;
if (serd_uri_parse(node->buf, &uri)) {
SerdURI abs_uri;
- if (serd_uri_resolve(&uri, &writer->base_uri, &abs_uri)) {
- writer->sink("<", 1, writer->stream);
- serd_uri_serialise(&abs_uri, writer->sink, writer->stream);
- writer->sink(">", 1, writer->stream);
- return true;
- }
+ serd_uri_resolve(&uri, &writer->base_uri, &abs_uri);
+ writer->sink("<", 1, writer->stream);
+ serd_uri_serialise(&abs_uri, writer->sink, writer->stream);
+ writer->sink(">", 1, writer->stream);
+ return true;
}
} else {
writer->sink("<", 1, writer->stream);