diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-03 15:23:52 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-03 15:23:52 +0000 |
commit | 8a62ecf24f61fa26dfa604fbf0938320fcc3ae61 (patch) | |
tree | 025b331aab14cc3c7740e0da7ced549d071a3d2e /protocols | |
parent | ea9d5eb615dfa58b4b4b750897819d6aef07024a (diff) |
minus one crutch
git-svn-id: http://svn.miranda-ng.org/main/trunk@14834 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_server.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/icq_server.cpp b/protocols/IcqOscarJ/src/icq_server.cpp index 585de4ba3c..04f7f8c728 100644 --- a/protocols/IcqOscarJ/src/icq_server.cpp +++ b/protocols/IcqOscarJ/src/icq_server.cpp @@ -321,7 +321,7 @@ void CIcqProto::sendServPacket(icq_packet *pPacket) icq_serverDisconnect();
}
else { // Rates management
- mir_cslock l(m_ratesMutex);
+ mir_cslock r(m_ratesMutex);
m_rates->packetSent(pPacket);
}
}
@@ -387,8 +387,6 @@ void CIcqProto::icq_login(const char* szPassword) // User password
stsi->wPassLen = mir_strlen(szPassword);
- if (stsi->wPassLen > 8)
- stsi->wPassLen = 8;
null_strcpy(stsi->szPass, szPassword, stsi->wPassLen);
// Randomize sequence
|