summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-28 16:26:23 +0100
committermadmaxoft <github@xoft.cz>2014-02-28 16:26:23 +0100
commit182646188448f9fd8df0b4c0391a2db04575c49d (patch)
treeb823a35f67ab8d5b0f32bb4beea6710667332425 /src/HTTPServer
parentDocumented the changes in cJukeboxEntity. (diff)
downloadcuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.gz
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.bz2
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.lz
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.xz
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.zst
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.zip
Diffstat (limited to '')
-rw-r--r--src/HTTPServer/HTTPServer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/HTTPServer/HTTPServer.cpp b/src/HTTPServer/HTTPServer.cpp
index f6f5b0f8b..4e9195a00 100644
--- a/src/HTTPServer/HTTPServer.cpp
+++ b/src/HTTPServer/HTTPServer.cpp
@@ -29,6 +29,8 @@ class cDebugCallbacks :
{
virtual void OnRequestBegun(cHTTPConnection & a_Connection, cHTTPRequest & a_Request) override
{
+ UNUSED(a_Connection);
+
if (cHTTPFormParser::HasFormData(a_Request))
{
a_Request.SetUserData(new cHTTPFormParser(a_Request, *this));
@@ -38,6 +40,8 @@ class cDebugCallbacks :
virtual void OnRequestBody(cHTTPConnection & a_Connection, cHTTPRequest & a_Request, const char * a_Data, int a_Size) override
{
+ UNUSED(a_Connection);
+
cHTTPFormParser * FormParser = (cHTTPFormParser *)(a_Request.GetUserData());
if (FormParser != NULL)
{