From: Fabian Keil Date: Sat, 26 Apr 2008 15:50:56 +0000 (+0000) Subject: Fix macro name in cgi_show_file() error path. X-Git-Tag: v_3_0_9~135 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=7bcacc5f6fc538b88b2c0c832293718087fa2414 Fix macro name in cgi_show_file() error path. --- diff --git a/cgisimple.c b/cgisimple.c index df973b61..51ec7102 100644 --- a/cgisimple.c +++ b/cgisimple.c @@ -1,4 +1,4 @@ -const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.72 2008/04/26 10:34:15 fabiankeil Exp $"; +const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.73 2008/04/26 12:21:55 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $ @@ -36,6 +36,9 @@ const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.72 2008/04/26 10:34:15 fabian * * Revisions : * $Log: cgisimple.c,v $ + * Revision 1.73 2008/04/26 12:21:55 fabiankeil + * Forget about JB_ERR_PARSE. JB_ERR_CGI_PARAMS to the rescue. + * * Revision 1.72 2008/04/26 10:34:15 fabiankeil * If zlib support is unavailable and there are content filters active * but the prevent-compression action is disabled, include a warning @@ -2080,7 +2083,7 @@ static jb_err cgi_show_file(struct client_state *csp, if ((fp = fopen(filename, "rb")) == NULL) { - if (map(exports, "content", 1, "

ERROR OPENING FILE!

", 1)) + if (map(exports, "contents", 1, "

ERROR OPENING FILE!

", 1)) { free_map(exports); return JB_ERR_MEMORY;