-rw-r--r-- | cgit.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -286,13 +286,12 @@ static void process_request(void *cbdata) struct cgit_context *ctx = cbdata; struct cgit_cmd *cmd; cmd = cgit_get_cmd(ctx); if (!cmd) { ctx->page.title = "cgit error"; - ctx->repo = NULL; cgit_print_http_headers(ctx); cgit_print_docstart(ctx); cgit_print_pageheader(ctx); cgit_print_error("Invalid request"); cgit_print_docend(); return; |