diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-06-14 06:10:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-06-14 06:10:05 +0000 |
commit | 8d60011827f61eed442b98fffde0109e62d681ac (patch) | |
tree | 85366149c1f0a2d708f30a0b5d8bd54cfa79038f /www/mod_cplusplus | |
parent | aff547f261c51efba33ca9f4e388cc4b8d2defe1 (diff) | |
download | ports-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.cpp | 11 |
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); |