From 96e5b38f3f79a7b91fd26feb2281bc31f82235e9 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sun, 31 Aug 2008 02:17:44 -0300 Subject: [PATCH] Return after returning an error --- frontend/cgi/cgi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/cgi/cgi.c b/frontend/cgi/cgi.c index 7b8ac55..1209ceb 100644 --- a/frontend/cgi/cgi.c +++ b/frontend/cgi/cgi.c @@ -40,6 +40,7 @@ cgi_serve_request (AtomCtx *ctx) * from a non-existent index. */ fprintf (stdout, "Status: 404 Not Found\n\n"); + return; } } if (!strcmp (method, "GET")) -- 2.20.1