summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-04-03 02:25:55 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-04-03 02:25:55 +0300
commit75bf7aca58eb71f1be4d5518374a94213ae08e60 (patch)
treefd90b41a020146d51983e655866d56ee6f06c124 /protocols
parent5de1d3b7666b26291eaddcfa99354f0662a3bec2 (diff)
protocols: jabber: crash fix
https://gist.github.com/apollo2k4/955dc2bd2b8cac46ab51fa787b12329c
Diffstat (limited to 'protocols')
-rwxr-xr-xprotocols/JabberG/src/jabber_strm_mgmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_strm_mgmt.cpp b/protocols/JabberG/src/jabber_strm_mgmt.cpp
index f6227a803c..cf48e5610b 100755
--- a/protocols/JabberG/src/jabber_strm_mgmt.cpp
+++ b/protocols/JabberG/src/jabber_strm_mgmt.cpp
@@ -106,7 +106,7 @@ void strm_mgmt::OnProcessSMa(HXML node)
void strm_mgmt::ResendNodes(uint32_t size)
{
- if (size > NodeCache.size()) //TODO: size should not be larger than NodeCache.size(), another bug
+ if (size > NodeCache.size())
{
const size_t diff = NodeCache.size() - size;
if (diff)