diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Settle the names, types and layout of the sources
Diffstat (limited to 'source/parsing.c')
-rw-r--r--source/parsing.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/parsing.c b/source/parsing.c
index a7e46de..f6b1a02 100644
--- a/source/parsing.c
+++ b/source/parsing.c
@@ -52,7 +52,7 @@ void cgit_parse_url(const char *url)
if (p) {
p[0] = '\0';
if (p[1])
- ctx.qry.path = trim_end(p + 1, '/');
+ ctx.qry.path = cgit_trim_end(p + 1, '/');
}
if (cmd[1])
ctx.qry.page = xstrdup(cmd + 1);