aboutsummaryrefslogtreecommitdiff
path: root/www/mod_cplusplus
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_cplusplus')
-rw-r--r--www/mod_cplusplus/files/patch-example__handler__test_handler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/mod_cplusplus/files/patch-example__handler__test_handler.cpp b/www/mod_cplusplus/files/patch-example__handler__test_handler.cpp
new file mode 100644
index 000000000000..f91a76231d2b
--- /dev/null
+++ b/www/mod_cplusplus/files/patch-example__handler__test_handler.cpp
@@ -0,0 +1,11 @@
+--- example/handler/test_handler.cpp.orig Wed Jun 13 14:15:35 2007
++++ example/handler/test_handler.cpp Wed Jun 13 14:26:38 2007
+@@ -18,7 +18,7 @@
+ int TestHandler::handler(ApacheRequestRec *pRequest)
+ {
+ mHits++;
+- pRequest->content_type("application/x-httpd-cgi");
++ pRequest->content_type((char *)"application/x-httpd-cgi");
+ pRequest->dump();
+ pRequest->rprintf("BOO");
+ ap_setup_client_block(pRequest->get_request_rec(), REQUEST_CHUNKED_ERROR);