diff options
author | Jason A. Donenfeld | 2016-02-26 13:24:35 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2016-02-26 13:24:35 +0100 |
commit | e9cbdf64632fbe64d6b0c4974ac947ef954938e7 (patch) | |
tree | 6babdad95d28f3832ba02318d85e16313c8f47e9 | |
parent | about: path_info might not be valid (diff) | |
download | cgit-e9cbdf64632fbe64d6b0c4974ac947ef954938e7.tar.gz cgit-e9cbdf64632fbe64d6b0c4974ac947ef954938e7.zip |
ui-shared: redirect should not exit early for cache
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | ui-shared.c | 1 |
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 | ||
708 | static void print_rel_vcs_link(const char *url) | 707 | static void print_rel_vcs_link(const char *url) |