aboutsummaryrefslogtreecommitdiff
path: root/www/mod_cplusplus
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-14 06:10:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-14 06:10:05 +0000
commit8d60011827f61eed442b98fffde0109e62d681ac (patch)
tree85366149c1f0a2d708f30a0b5d8bd54cfa79038f /www/mod_cplusplus
parentaff547f261c51efba33ca9f4e388cc4b8d2defe1 (diff)
downloadports-8d60011827f61eed442b98fffde0109e62d681ac.tar.gz
ports-8d60011827f61eed442b98fffde0109e62d681ac.zip
Notes
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);