You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jw...@apache.org on 2001/09/18 05:33:30 UTC
cvs commit: httpd-2.0/modules/generators mod_cgi.c
jwoolley 01/09/17 20:33:30
Modified: modules/generators mod_cgi.c
Log:
Fix constness problem reported by gcc:
mod_cgi.c: In function `include_cmd':
mod_cgi.c:812: warning: passing arg 1 of pointer to function from incompatible
pointer type
Reported by: Ian's autobuild
Revision Changes Path
1.106 +2 -2 httpd-2.0/modules/generators/mod_cgi.c
Index: mod_cgi.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgi.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -u -r1.105 -r1.106
--- mod_cgi.c 2001/09/17 22:12:49 1.105
+++ mod_cgi.c 2001/09/18 03:33:30 1.106
@@ -799,8 +799,8 @@
}
-static int include_cmd(include_ctx_t *ctx, apr_bucket_brigade **bb, char *command,
- request_rec *r, ap_filter_t *f)
+static int include_cmd(include_ctx_t *ctx, apr_bucket_brigade **bb,
+ const char *command, request_rec *r, ap_filter_t *f)
{
exec_info e_info;
const char **argv;