summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_rc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-26 15:19:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-26 15:19:44 +0000
commit324b246fb23cd518bdd1907985c695b8fc4f28d2 (patch)
treeb41cb8a3e91484e1677f11e1a0693075cb8382f5 /protocols/JabberG/src/jabber_rc.cpp
parent65cc377f4b4161dee01c43e0430ff7b236874839 (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_rc.cpp')
-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 aa660ff8ff..d1a9cdc90f 100644
--- a/protocols/JabberG/src/jabber_rc.cpp
+++ b/protocols/JabberG/src/jabber_rc.cpp
@@ -764,7 +764,7 @@ int CJabberProto::AdhocLeaveGroupchatsHandler(HXML, CJabberIqInfo* pInfo, CJabbe
// Groupchat list here:
HXML fieldNode = xmlGetChildByTag(xNode,"field", "var", _T("groupchats"));
if (fieldNode) {
- for (i = 0; i < xmlGetChildCount(fieldNode); i++) {
+ for (i=0; i < xmlGetChildCount(fieldNode); i++) {
HXML valueNode = xmlGetChild(fieldNode, i);
if (valueNode && xmlGetName(valueNode) && xmlGetText(valueNode) && !_tcscmp(xmlGetName(valueNode), _T("value"))) {
JABBER_LIST_ITEM *item = ListGetItemPtr(LIST_CHATROOM, xmlGetText(valueNode));