aboutsummaryrefslogtreecommitdiffstats
path: root/src/write.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-20 20:40:43 +0000
committerDavid Robillard <d@drobilla.net>2011-01-20 20:40:43 +0000
commitec2991ce8c75390a227de2d21a532de1dff0fdfd (patch)
tree695fd1b44e217ca9a592b85bc46c691e32973572 /src/write.c
parent3433e155c739f6a081209ea7422b9fdc7f87a555 (diff)
downloadserd-ec2991ce8c75390a227de2d21a532de1dff0fdfd.tar.gz
serd-ec2991ce8c75390a227de2d21a532de1dff0fdfd.tar.bz2
serd-ec2991ce8c75390a227de2d21a532de1dff0fdfd.zip
Support passing no base URI on command line (use filename as base URI).
Decent usage output. git-svn-id: http://svn.drobilla.net/serd/trunk@15 490d8e77-9747-427b-9fa3-0b8f29cee8a0
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;