Fixed format string in HTTPConnection
This commit is contained in:
parent
93bb5369a8
commit
7ece0cc836
@ -70,7 +70,7 @@ void cHTTPConnection::Send(const cHTTPResponse & a_Response)
|
|||||||
void cHTTPConnection::Send(const void * a_Data, size_t a_Size)
|
void cHTTPConnection::Send(const void * a_Data, size_t a_Size)
|
||||||
{
|
{
|
||||||
ASSERT(m_State == wcsSendingResp);
|
ASSERT(m_State == wcsSendingResp);
|
||||||
AppendPrintf(m_OutgoingData, "%x\r\n", a_Size);
|
AppendPrintf(m_OutgoingData, SIZE_T_FMT "\r\n", a_Size);
|
||||||
m_OutgoingData.append((const char *)a_Data, a_Size);
|
m_OutgoingData.append((const char *)a_Data, a_Size);
|
||||||
m_OutgoingData.append("\r\n");
|
m_OutgoingData.append("\r\n");
|
||||||
m_HTTPServer.NotifyConnectionWrite(*this);
|
m_HTTPServer.NotifyConnectionWrite(*this);
|
||||||
|
Loading…
Reference in New Issue
Block a user