summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_threads.cpp
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-05-15 11:14:12 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-05-15 11:14:12 +0000
commit35de95108c89e489ccba2c7e8696530e396a142d (patch)
treea97cf4a8d8fa01f239084b117237aca0e9e246f0 /protocols/MSN/src/msn_threads.cpp
parentcc2454c803eb6b96add654fbd99f616217056396 (diff)
- Now only requesting OAuth tokens on SkyLogin to speed up login process, as required tokens get issued by SOAP Passport-Request anyway.
- Fixed a bug introduced by ghazan's last commit which prevented proper connecting. git-svn-id: http://svn.miranda-ng.org/main/trunk@13601 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_threads.cpp')
-rw-r--r--protocols/MSN/src/msn_threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_threads.cpp b/protocols/MSN/src/msn_threads.cpp
index 208d8e1287..818cd0e453 100644
--- a/protocols/MSN/src/msn_threads.cpp
+++ b/protocols/MSN/src/msn_threads.cpp
@@ -213,7 +213,7 @@ void __cdecl CMsnProto::MSNServerThread(void* arg)
else
peol++;
- info->mBytesInData -= msgLen;
+ info->mBytesInData -= peol - info->mData;
memmove(info->mData, peol, info->mBytesInData);
debugLogA("RECV: %s", msg);