summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_presence_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_presence_manager.h')
-rw-r--r--protocols/JabberG/src/jabber_presence_manager.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_presence_manager.h b/protocols/JabberG/src/jabber_presence_manager.h
index 97e9077c8a..ff753dfdf6 100644
--- a/protocols/JabberG/src/jabber_presence_manager.h
+++ b/protocols/JabberG/src/jabber_presence_manager.h
@@ -86,13 +86,12 @@ class CJabberPresenceManager
{
protected:
CJabberProto *ppro;
- CRITICAL_SECTION m_cs;
+ mir_cs m_cs;
CJabberPresencePermanentInfo* m_pPermanentHandlers;
public:
CJabberPresenceManager(CJabberProto* proto)
{
- InitializeCriticalSection(&m_cs);
m_pPermanentHandlers = NULL;
ppro = proto;
}
@@ -105,7 +104,6 @@ public:
pInfo = pTmp;
}
m_pPermanentHandlers = NULL;
- DeleteCriticalSection(&m_cs);
}
BOOL Start()
{