From 874cdbe42cfe376f0e72fd5fe6bad0d2f75f4ee3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 20 Jul 2013 11:11:48 +0000 Subject: code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@5427 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_iqid.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/JabberG/src/jabber_iqid.cpp') 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 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; -- cgit v1.2.3