diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-20 11:11:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-20 11:11:48 +0000 |
commit | 874cdbe42cfe376f0e72fd5fe6bad0d2f75f4ee3 (patch) | |
tree | cd6167452b51f8ac80b3a36ffb36c1e08f3c9ada /protocols/JabberG/src/jabber_iqid.cpp | |
parent | 2fe00cdd66d4559cc43a5f27c19ddc79a43676eb (diff) |
code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@5427 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_iqid.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp index 1bc26f178f..38a944eeb9 100644 --- a/protocols/JabberG/src/jabber_iqid.cpp +++ b/protocols/JabberG/src/jabber_iqid.cpp @@ -141,13 +141,13 @@ void CJabberProto::OnProcessLoginRq(ThreadData* info, DWORD rq) LIST<JABBER_LIST_ITEM> ll(10);
LISTFOREACH(i, this, LIST_BOOKMARK)
{
- JABBER_LIST_ITEM* item = ListGetItemPtrFromIndex(i);
+ JABBER_LIST_ITEM *item = ListGetItemPtrFromIndex(i);
if (item != NULL && !lstrcmp(item->type, _T("conference")) && item->bAutoJoin)
ll.insert(item);
}
for (int j=0; j < ll.getCount(); j++) {
- JABBER_LIST_ITEM* item = ll[j];
+ JABBER_LIST_ITEM *item = ll[j];
TCHAR room[256], *server, *p;
TCHAR text[128];
@@ -421,7 +421,7 @@ void CJabberProto::OnIqResultGetRoster(HXML iqNode, CJabberIqInfo* pInfo) if (nick == NULL)
continue;
- JABBER_LIST_ITEM* item = ListAdd(LIST_ROSTER, jid);
+ JABBER_LIST_ITEM *item = ListAdd(LIST_ROSTER, jid);
item->subscription = sub;
mir_free(item->nick); item->nick = nick;
@@ -1556,7 +1556,7 @@ void CJabberProto::OnIqResultDiscoBookmarks(HXML iqNode) for (int i = 0; itemNode = xmlGetChild(storageNode, i); i++) {
if (name = xmlGetName(itemNode)) {
if ( !_tcscmp(name, _T("conference")) && (jid = xmlGetAttrValue(itemNode, _T("jid")))) {
- JABBER_LIST_ITEM* item = ListAdd(LIST_BOOKMARK, jid);
+ JABBER_LIST_ITEM *item = ListAdd(LIST_BOOKMARK, jid);
item->name = mir_tstrdup(xmlGetAttrValue(itemNode, _T("name")));
item->type = mir_tstrdup(_T("conference"));
item->bUseResource = TRUE;
@@ -1568,7 +1568,7 @@ void CJabberProto::OnIqResultDiscoBookmarks(HXML iqNode) item->bAutoJoin = (!lstrcmp(autoJ, _T("true")) || !lstrcmp(autoJ, _T("1"))) ? true : false;
}
else if ( !_tcscmp(name, _T("url")) && (jid = xmlGetAttrValue(itemNode, _T("url") ))) {
- JABBER_LIST_ITEM* item = ListAdd(LIST_BOOKMARK, jid);
+ JABBER_LIST_ITEM *item = ListAdd(LIST_BOOKMARK, jid);
item->bUseResource = TRUE;
item->name = mir_tstrdup(xmlGetAttrValue(itemNode, _T("name")));
item->type = mir_tstrdup(_T("url"));
@@ -1597,7 +1597,7 @@ void CJabberProto::SetBookmarkRequest (XmlNodeIq& iq) LISTFOREACH(i, this, LIST_BOOKMARK)
{
- JABBER_LIST_ITEM* item = ListGetItemPtrFromIndex(i);
+ JABBER_LIST_ITEM *item = ListGetItemPtrFromIndex(i);
if (item == NULL)
continue;
|