Return after returning an error
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sun, 31 Aug 2008 05:17:44 +0000 (02:17 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sun, 31 Aug 2008 05:17:44 +0000 (02:17 -0300)
frontend/cgi/cgi.c

index 7b8ac55..1209ceb 100644 (file)
@@ -40,6 +40,7 @@ cgi_serve_request (AtomCtx *ctx)
            * from a non-existent index.
            */
           fprintf (stdout, "Status: 404 Not Found\n\n");
            * from a non-existent index.
            */
           fprintf (stdout, "Status: 404 Not Found\n\n");
+          return;
         }
     }
   if (!strcmp (method, "GET"))
         }
     }
   if (!strcmp (method, "GET"))