From e5b326b5130462556476d082e03dd85f90e7411f Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 27 Aug 2026 05:42:02 -1000 Subject: Use standard HTTP reason phrases --- source/cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cmd.c') diff --git a/source/cmd.c b/source/cmd.c index 27f9db5..68c395a 100644 --- a/source/cmd.c +++ b/source/cmd.c @@ -111,7 +111,7 @@ static void ls_cache_fn(void) // The listing names the cache path and the URLs other visitors asked // for, so it stays off until an administrator opts in. if (!ctx.cfg.enable_cache_list) { - cgit_print_error_page(404, "Not found", "Not found"); + cgit_print_error_page(404, "Not Found", "Not found"); return; } ctx.page.mimetype = "text/plain"; @@ -165,7 +165,7 @@ static void stats_fn(void) if (ctx.repo->enable_stats) cgit_show_stats(); else - cgit_print_error_page(404, "Not found", "Stats are disabled"); + cgit_print_error_page(404, "Not Found", "Stats are disabled"); } static void summary_fn(void) -- cgit v2.8.0