summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-07 08:11:56 +0200
committermadmaxoft <github@xoft.cz>2014-04-07 08:11:56 +0200
commitf9b2c2956efff75c71af6d3f18f615bc0cd345d4 (patch)
tree79f9da6cc1f39e45395a56c558a9b1715e071403 /src/HTTPServer
parentAdded the generated ZBS API file to ignore list. (diff)
downloadcuberite-f9b2c2956efff75c71af6d3f18f615bc0cd345d4.tar
cuberite-f9b2c2956efff75c71af6d3f18f615bc0cd345d4.tar.gz
cuberite-f9b2c2956efff75c71af6d3f18f615bc0cd345d4.tar.bz2
cuberite-f9b2c2956efff75c71af6d3f18f615bc0cd345d4.tar.lz
cuberite-f9b2c2956efff75c71af6d3f18f615bc0cd345d4.tar.xz
cuberite-f9b2c2956efff75c71af6d3f18f615bc0cd345d4.tar.zst
cuberite-f9b2c2956efff75c71af6d3f18f615bc0cd345d4.zip
Diffstat (limited to '')
-rw-r--r--src/HTTPServer/HTTPConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTTPServer/HTTPConnection.cpp b/src/HTTPServer/HTTPConnection.cpp
index 44a3d3f88..da4df0e34 100644
--- a/src/HTTPServer/HTTPConnection.cpp
+++ b/src/HTTPServer/HTTPConnection.cpp
@@ -70,7 +70,7 @@ void cHTTPConnection::Send(const cHTTPResponse & a_Response)
void cHTTPConnection::Send(const void * a_Data, size_t a_Size)
{
ASSERT(m_State == wcsSendingResp);
- AppendPrintf(m_OutgoingData, SIZE_T_FMT "\r\n", a_Size);
+ AppendPrintf(m_OutgoingData, SIZE_T_FMT_HEX "\r\n", a_Size);
m_OutgoingData.append((const char *)a_Data, a_Size);
m_OutgoingData.append("\r\n");
m_HTTPServer.NotifyConnectionWrite(*this);