mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Fix build with gcc 4.2
Submitted by: pointyhat via kris Approved by: maintainer
This commit is contained in:
parent
aff547f261
commit
8d60011827
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193453
@ -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);
|
Loading…
Reference in New Issue
Block a user