aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.c b/src/env.c
index 4011298d..64fccaac 100644
--- a/src/env.c
+++ b/src/env.c
@@ -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;
}
}