Diffstat (limited to 'ui-shared.c')
| -rw-r--r-- | ui-shared.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ui-shared.c b/ui-shared.c index 4f84b7c..e755c92 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -689,14 +689,6 @@ void cgit_print_http_headers(void) exit(0); } -void cgit_redirect(const char *url, bool permanent) -{ - htmlf("Status: %d %s\n", permanent ? 301 : 302, permanent ? "Moved" : "Found"); - htmlf("Location: %s\n", url); - htmlf("\n"); - exit(0); -} - static void print_rel_vcs_link(const char *url) { html("<link rel='vcs-git' href='"); |