Unidiff1 files changed, 0 insertions, 1 deletions
|
diff --git a/cgit.c b/cgit.c index c82587b..6e5215e 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -286,13 +286,12 @@ static void process_request(void *cbdata) |
286 | struct cgit_context *ctx = cbdata; |
286 | struct cgit_context *ctx = cbdata; |
287 | struct cgit_cmd *cmd; |
287 | struct cgit_cmd *cmd; |
288 | |
288 | |
289 | cmd = cgit_get_cmd(ctx); |
289 | cmd = cgit_get_cmd(ctx); |
290 | if (!cmd) { |
290 | if (!cmd) { |
291 | ctx->page.title = "cgit error"; |
291 | ctx->page.title = "cgit error"; |
292 | ctx->repo = NULL; |
| |
293 | cgit_print_http_headers(ctx); |
292 | cgit_print_http_headers(ctx); |
294 | cgit_print_docstart(ctx); |
293 | cgit_print_docstart(ctx); |
295 | cgit_print_pageheader(ctx); |
294 | cgit_print_pageheader(ctx); |
296 | cgit_print_error("Invalid request"); |
295 | cgit_print_error("Invalid request"); |
297 | cgit_print_docend(); |
296 | cgit_print_docend(); |
298 | return; |
297 | return; |
|