aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
authorJason A. Donenfeld2016-02-26 13:24:35 +0100
committerJason A. Donenfeld2016-02-26 13:24:35 +0100
commite9cbdf64632fbe64d6b0c4974ac947ef954938e7 (patch)
tree6babdad95d28f3832ba02318d85e16313c8f47e9 /ui-shared.c
parent09a3aa5ae7781a0e461373ede6bc10129cb3f5de (diff)
downloadcgit-e9cbdf64632fbe64d6b0c4974ac947ef954938e7.tar.gz
cgit-e9cbdf64632fbe64d6b0c4974ac947ef954938e7.tar.bz2
cgit-e9cbdf64632fbe64d6b0c4974ac947ef954938e7.zip
ui-shared: redirect should not exit early for cache
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 3b2dc06..9a38aa9 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -702,7 +702,6 @@ void cgit_redirect(const char *url, bool permanent)
702 html("Location: "); 702 html("Location: ");
703 html_url_path(url); 703 html_url_path(url);
704 html("\n\n"); 704 html("\n\n");
705 exit(0);
706} 705}
707 706
708static void print_rel_vcs_link(const char *url) 707static void print_rel_vcs_link(const char *url)