diff options
author | David Robillard <d@drobilla.net> | 2011-05-12 21:28:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-12 21:28:55 +0000 |
commit | f07ed64923ab04fd4c608a17476e74e6271bc51d (patch) | |
tree | f63d9003498323d8ada1e744bd3f2bd33eabc7ff /src/env.c | |
parent | c34688055ee24f9e8740a2832415c4b89f64486f (diff) | |
download | serd-f07ed64923ab04fd4c608a17476e74e6271bc51d.tar.gz serd-f07ed64923ab04fd4c608a17476e74e6271bc51d.tar.bz2 serd-f07ed64923ab04fd4c608a17476e74e6271bc51d.zip |
Fix URI resolution off-by-one.
git-svn-id: http://svn.drobilla.net/serd/trunk@176 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/env.c')
-rw-r--r-- | src/env.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -163,7 +163,7 @@ serd_env_qualify(const SerdEnv* env, prefix_uri->n_bytes)) { *prefix_name = env->prefixes[i].name; suffix->buf = uri->buf + prefix_uri->n_bytes; - suffix->len = uri->n_bytes - prefix_uri->n_bytes - 1; + suffix->len = uri->n_bytes - prefix_uri->n_bytes; return true; } } |