Diff options
authorLars Hjemli <hjemli@gmail.com>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
Add trim_end() and use it to remove trailing slashes from repo paths
The new function removes all trailing instances of an arbitrary character from a copy of the supplied char array. This is then used to remove any trailing slashes from cgit_query_path. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'parsing.c')
-rw-r--r--parsing.c2
1 file changed, 1 insertion, 1 deletion