X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/e9b71ae6fe910573156c4632a314b7dbf84d7b64..aa943bc9a68ccdcc5cbe29f6ac3b5e787d4c22ca:/cgit.c diff --git a/cgit.c b/cgit.c index 3a97563..28a2f14 100644 --- a/cgit.c +++ b/cgit.c @@ -733,19 +733,7 @@ static void process_request(void) if (ctx.repo && prepare_repo_cmd()) return; - if (cmd->pre) - cmd->pre(); - - if (cmd->want_layout) { - cgit_print_http_headers(); - cgit_print_docstart(); - cgit_print_pageheader(); - } - cmd->fn(); - - if (cmd->want_layout) - cgit_print_docend(); } static int cmp_repos(const void *a, const void *b)