aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-05 16:24:31 +0000
committerDavid Robillard <d@drobilla.net>2011-05-05 16:24:31 +0000
commitb490ec05c2ecb3e3027da554fa0f53c1073a6c6e (patch)
tree19f98e7ca906ec7a5a90e2341eb2a0b3b1ec7c99 /src/node.c
parent30859b062f60fd486813de43a616686b3c41a57c (diff)
downloadserd-b490ec05c2ecb3e3027da554fa0f53c1073a6c6e.tar.gz
serd-b490ec05c2ecb3e3027da554fa0f53c1073a6c6e.tar.bz2
serd-b490ec05c2ecb3e3027da554fa0f53c1073a6c6e.zip
Tidy.
git-svn-id: http://svn.drobilla.net/serd/trunk@161 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node.c b/src/node.c
index b262ad3a..b6288ebc 100644
--- a/src/node.c
+++ b/src/node.c
@@ -68,8 +68,7 @@ serd_uri_string_length(const SerdURI* uri)
ADD_LEN(uri->query, 1); // + leading `?'
ADD_LEN(uri->fragment, 1); // + leading `#'
- // Add 2 for authority // prefix (added even though authority.len = 0)
- return len + 2; // + 2 for authority //
+ return len + 2; // + 2 for authority `//'
}
static size_t