summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_caps.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-08-18 14:32:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-08-18 14:32:44 +0000
commit9a10fa95b91ae9e77ba0b0601374fe1abf7782ba (patch)
treedda025f3b39dd572550a511edf067d2b98946f31 /protocols/JabberG/src/jabber_caps.h
parent3acd84bf6889f8fe2086eda619a0175d88e05a56 (diff)
CRITICAL_SECTION removed from Jabber
git-svn-id: http://svn.miranda-ng.org/main/trunk@10229 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_caps.h')
-rw-r--r--protocols/JabberG/src/jabber_caps.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/protocols/JabberG/src/jabber_caps.h b/protocols/JabberG/src/jabber_caps.h
index 54417da858..e734b79bc3 100644
--- a/protocols/JabberG/src/jabber_caps.h
+++ b/protocols/JabberG/src/jabber_caps.h
@@ -268,7 +268,7 @@ class CJabberClientCapsManager
{
protected:
- CRITICAL_SECTION m_cs;
+ mir_cs m_cs;
CJabberClientCaps *m_pClients;
CJabberProto *ppro;
@@ -279,13 +279,6 @@ public:
CJabberClientCapsManager(CJabberProto* proto);
~CJabberClientCapsManager();
- __inline void Lock()
- { EnterCriticalSection(&m_cs);
- }
- __inline void Unlock()
- { LeaveCriticalSection(&m_cs);
- }
-
void AddDefaultCaps();
JabberCapsBits GetClientCaps(TCHAR *szNode, TCHAR *szVer);