From bfaf7e3b27981a5144faba6d17c6e29fac735dbb Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Feb 2008 18:22:19 +0000 Subject: Commit patch from danieldg that makes a ton of stuff const-safe for latest warn-happy trigger-happy gcc4 (thanks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_httpclienttest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra/m_httpclienttest.cpp') diff --git a/src/modules/extra/m_httpclienttest.cpp b/src/modules/extra/m_httpclienttest.cpp index d76fcb970..382546196 100644 --- a/src/modules/extra/m_httpclienttest.cpp +++ b/src/modules/extra/m_httpclienttest.cpp @@ -59,7 +59,7 @@ public: ServerInstance->Log(DEBUG,"module not found, load it!!"); } - char* OnRequest(Request* req) + virtual const char* OnRequest(Request* req) { HTTPClientResponse* resp = (HTTPClientResponse*)req; if(!strcmp(resp->GetId(), HTTP_CLIENT_RESPONSE)) -- cgit v1.3.1-10-gc9f91