summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-14 21:47:11 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-14 21:47:11 +0300
commitb0b0b090cbec03d92e803612d2eced7d85ebf486 (patch)
tree963b6d3220ad21507361e0ce3b7df788819e0b51 /src/mir_app
parent415efcef4174b19bfbca1a770ed1ce8f5ba7a3a3 (diff)
stupid bug with the empty HTTP packets processing in netlib
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 ac8bb5e889..7090b54772 100644
--- a/src/mir_app/src/netlibhttp.cpp
+++ b/src/mir_app/src/netlibhttp.cpp
@@ -1001,7 +1001,7 @@ static int NetlibHttpRecvChunkHeader(NetlibConnection *nlc, bool first, DWORD fl
NETLIBHTTPREQUEST* NetlibHttpRecv(NetlibConnection *nlc, DWORD hflags, DWORD dflags, bool isConnect)
{
- int dataLen = -1, i, chunkhdr = 0;
+ int dataLen = 0, i, chunkhdr = 0;
bool chunked = false;
int cenc = 0, cenctype = 0, close = 0;