From: Gabriel Falcao Date: Mon, 12 May 2008 13:39:27 +0000 (-0300) Subject: @frontent/cgi/cgi.c: Fixing some typos about variable names: from err to error and... X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fatompub.git;a=commitdiff_plain;h=e868641b28f8fa86b2b274d6ecb289bbaab2eb35 @frontent/cgi/cgi.c: Fixing some typos about variable names: from err to error and G_FILE_ERROR_ACCESS to G_FILE_ERROR_ACCES. --- 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