aboutsummaryrefslogtreecommitdiffstats
path: root/src/env.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-29 00:53:39 +0000
committerDavid Robillard <d@drobilla.net>2011-09-29 00:53:39 +0000
commitc8e9bd0923f624945dd69e2af8b8a05c5a09d29c (patch)
tree6204b6f93a83c1e4b57886d47bf58f322776af6c /src/env.c
parentde5aa9e275107f59cdf12f76fe55895605ee7dc6 (diff)
downloadserd-c8e9bd0923f624945dd69e2af8b8a05c5a09d29c.tar.gz
serd-c8e9bd0923f624945dd69e2af8b8a05c5a09d29c.tar.bz2
serd-c8e9bd0923f624945dd69e2af8b8a05c5a09d29c.zip
Tidy.
git-svn-id: http://svn.drobilla.net/serd/trunk@218 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/env.c b/src/env.c
index d53ef73e..aaa910e1 100644
--- a/src/env.c
+++ b/src/env.c
@@ -266,7 +266,8 @@ serd_env_expand_node(const SerdEnv* env,
0,
SERD_URI };
ret.buf = malloc(ret.n_bytes + 1);
- snprintf((char*)ret.buf, ret.n_bytes + 1, "%s%s", prefix.buf, suffix.buf);
+ snprintf((char*)ret.buf, ret.n_bytes + 1,
+ "%s%s", prefix.buf, suffix.buf);
return ret;
} else if (node->type == SERD_URI) {
SerdURI ignored;