summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_threads.cpp
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-05-16 07:45:16 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-05-16 07:45:16 +0000
commite9bd09e71e1d12803e0eec86a8e0a039c9d4e755 (patch)
tree40619bbd485b462c2b11b54427169064d8bb59cf /protocols/MSN/src/msn_threads.cpp
parent9f7ed03494fa22e194e3ee553f3778d68b7ae206 (diff)
Set isConnectSuccess bool, maybe prevents possible crash on spurious XFR?
Fixed status mode change and setting status text git-svn-id: http://svn.miranda-ng.org/main/trunk@13614 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 382c113891..0eee4578c4 100644
--- a/protocols/MSN/src/msn_threads.cpp
+++ b/protocols/MSN/src/msn_threads.cpp
@@ -706,7 +706,7 @@ BYTE* HReadBuffer::surelyRead(size_t parBytes)
}
}
- while ((startOffset + parBytes) > totalDataSize) {
+ while ((startOffset + parBytes) > totalDataSize) {
int recvResult = owner->recv((char*)buffer + totalDataSize, owner->mDataSize - totalDataSize);
if (recvResult <= 0)