summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-08 22:46:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-08 22:46:18 +0300
commit92f80d349f63f694d0fdcf003a852fd424557663 (patch)
treec3c65e956949cdd294c4fce32f696e1c811ec7de /src/mir_app
parent82a3bbaf034bc286665465d8904e6d1db52e5eb4 (diff)
unused ansi services removed
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/netlibhttp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/netlibhttp.cpp b/src/mir_app/src/netlibhttp.cpp
index ce92b6c361..a6091180c0 100644
--- a/src/mir_app/src/netlibhttp.cpp
+++ b/src/mir_app/src/netlibhttp.cpp
@@ -340,7 +340,7 @@ static int HttpPeekFirstResponseLine(NetlibConnection *nlc, DWORD dwTimeoutTime,
static int SendHttpRequestAndData(NetlibConnection *nlc, CMStringA &httpRequest, NETLIBHTTPREQUEST *nlhr, int sendContentLengthHeader)
{
- bool sendData = (nlhr->requestType == REQUEST_POST || nlhr->requestType == REQUEST_PUT);
+ bool sendData = (nlhr->requestType == REQUEST_POST || nlhr->requestType == REQUEST_PUT || nlhr->requestType == REQUEST_PATCH);
if (sendContentLengthHeader && sendData)
httpRequest.AppendFormat("Content-Length: %d\r\n\r\n", nlhr->dataLength);