summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-19 22:04:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-19 22:04:33 +0000
commit25c307a140104c3b09fecbbf2f452368090a45d0 (patch)
tree99d8e24d70a0c70e37ee85339fcb348473d52bf3 /protocols/MSN/src/msn_proto.cpp
parent550c3e26b321ffb138d02f02c22e64f3e3044767 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@11025 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_proto.cpp')
-rw-r--r--protocols/MSN/src/msn_proto.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp
index afd93523dd..1442006c20 100644
--- a/protocols/MSN/src/msn_proto.cpp
+++ b/protocols/MSN/src/msn_proto.cpp
@@ -28,18 +28,18 @@ int msn_httpGatewayBegin(HANDLE hConn,NETLIBOPENCONNECTION *nloc);
int msn_httpGatewayWrapSend(HANDLE hConn,PBYTE buf,int len,int flags,MIRANDASERVICE pfnNetlibSend);
PBYTE msn_httpGatewayUnwrapRecv(NETLIBHTTPREQUEST *nlhr,PBYTE buf,int len,int *outBufLen,void *(*NetlibRealloc)(void*,size_t));
-static int CompareLists(const MsnContact* p1, const MsnContact* p2)
+static int CompareLists(const MsnContact *p1, const MsnContact *p2)
{
return _stricmp(p1->email, p2->email);
}
CMsnProto::CMsnProto(const char* aProtoName, const TCHAR* aUserName) :
PROTO<CMsnProto>(aProtoName, aUserName),
- contList(10, CompareLists),
- grpList(10, CompareId),
- sttThreads(10, PtrKeySortT),
- sessionList(10, PtrKeySortT),
- dcList(10, PtrKeySortT),
+ m_arContacts(10, CompareLists),
+ m_arGroups(10, CompareId),
+ m_arThreads(10, PtrKeySortT),
+ m_arSessions(10, PtrKeySortT),
+ m_arDirect(10, PtrKeySortT),
lsMessageQueue(1),
lsAvatarQueue(1),
msgCache(5, CompareId)
@@ -978,8 +978,8 @@ int __cdecl CMsnProto::SetStatus(int iNewStatus)
return 0;
}
- sessionList.destroy();
- dcList.destroy();
+ m_arSessions.destroy();
+ m_arDirect.destroy();
usingGateway = false;