From e868641b28f8fa86b2b274d6ecb289bbaab2eb35 Mon Sep 17 00:00:00 2001 From: Gabriel Falcao Date: Mon, 12 May 2008 10:39:27 -0300 Subject: [PATCH] @frontent/cgi/cgi.c: Fixing some typos about variable names: from err to error and G_FILE_ERROR_ACCESS to G_FILE_ERROR_ACCES. --- frontend/cgi/cgi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/cgi/cgi.c b/frontend/cgi/cgi.c index 3ebd3a0..238ac39 100644 --- a/frontend/cgi/cgi.c +++ b/frontend/cgi/cgi.c @@ -54,14 +54,14 @@ cgi_serve_request (AtomCtx *ctx) { if (error->domain == G_FILE_ERROR && (error->code == G_FILE_ERROR_EXIST || - error->code == G_FILE_ERROR_ACCESS || + error->code == G_FILE_ERROR_ACCES || error->code == G_FILE_ERROR_PERM)) - fprintf (stdout, "Status: 403 %s\n\n", err->message); + fprintf (stdout, "Status: 403 %s\n\n", error->message); else if (error->domain == G_FILE_ERROR && error->code == G_FILE_ERROR_NOENT) - fprintf (stdout, "Status: 404 %s\n\n", err->message); + fprintf (stdout, "Status: 404 %s\n\n", error->message); else - fprintf (stdout, "Status: 500 %s\n\n", err->message); + fprintf (stdout, "Status: 500 %s\n\n", error->message); } } else -- 2.20.1