summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-07 20:15:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-07 20:15:59 +0000
commit6c61dc812b9a5382c282f3e61111516fff562c0e (patch)
tree3308c3bb4734663bf28c8c0cf438ea7f6d4b49fa /protocols
parent20fa18c158baf0c336c1efe655899943a916ce77 (diff)
fix for potentially endless loops
git-svn-id: http://svn.miranda-ng.org/main/trunk@11789 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_rc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_rc.cpp b/protocols/JabberG/src/jabber_rc.cpp
index 8d042cbdc5..5c96401afb 100644
--- a/protocols/JabberG/src/jabber_rc.cpp
+++ b/protocols/JabberG/src/jabber_rc.cpp
@@ -563,7 +563,7 @@ int CJabberProto::AdhocForwardHandler(HXML, CJabberIqInfo *pInfo, CJabberAdhocSe
mir_ptr<BYTE> pEventBuf((PBYTE)mir_alloc(dbei.cbBlob + 1));
dbei.pBlob = pEventBuf;
- if ( db_event_get(hDbEvent, &dbei))
+ if (db_event_get(hDbEvent, &dbei))
continue;
if (dbei.eventType != EVENTTYPE_MESSAGE || (dbei.flags & (DBEF_READ | DBEF_SENT)))