summaryrefslogtreecommitdiffabout
path: root/cgit.c
Unidiff
Diffstat (limited to 'cgit.c') (more/less context) (show whitespace changes)
-rw-r--r--cgit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cgit.c b/cgit.c
index d1cee58..f35f605 100644
--- a/cgit.c
+++ b/cgit.c
@@ -292,9 +292,8 @@ static void process_request(void *cbdata)
292 292
293 cmd = cgit_get_cmd(ctx); 293 cmd = cgit_get_cmd(ctx);
294 if (!cmd) { 294 if (!cmd) {
295 ctx->page.title = "cgit error"; 295 ctx->page.title = "cgit error";
296 ctx->repo = NULL;
297 cgit_print_http_headers(ctx); 296 cgit_print_http_headers(ctx);
298 cgit_print_docstart(ctx); 297 cgit_print_docstart(ctx);
299 cgit_print_pageheader(ctx); 298 cgit_print_pageheader(ctx);
300 cgit_print_error("Invalid request"); 299 cgit_print_error("Invalid request");