summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--shared.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared.c b/shared.c
index 343a4f9..0fe513f 100644
--- a/shared.c
+++ b/shared.c
@@ -110,3 +110,3 @@ struct repoinfo *add_repo(const char *url)
110 ret = &cgit_repolist.repos[cgit_repolist.count-1]; 110 ret = &cgit_repolist.repos[cgit_repolist.count-1];
111 ret->url = xstrdup(url); 111 ret->url = trim_end(url, '/');
112 ret->name = ret->url; 112 ret->name = ret->url;
@@ -153,3 +153,3 @@ void cgit_global_config_cb(const char *name, const char *value)
153 else if (!strcmp(name, "virtual-root")) 153 else if (!strcmp(name, "virtual-root"))
154 cgit_virtual_root = xstrdup(value); 154 cgit_virtual_root = trim_end(value, '/');
155 else if (!strcmp(name, "nocache")) 155 else if (!strcmp(name, "nocache"))
@@ -191,3 +191,3 @@ void cgit_global_config_cb(const char *name, const char *value)
191 else if (cgit_repo && !strcmp(name, "repo.path")) 191 else if (cgit_repo && !strcmp(name, "repo.path"))
192 cgit_repo->path = xstrdup(value); 192 cgit_repo->path = trim_end(value, '/');
193 else if (cgit_repo && !strcmp(name, "repo.desc")) 193 else if (cgit_repo && !strcmp(name, "repo.desc"))