diff options
Diffstat (limited to 'protocols/MRA')
-rw-r--r-- | protocols/MRA/src/MraProto.cpp | 2 | ||||
-rw-r--r-- | protocols/MRA/src/MraProto.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index 887ca14491..7274ba6954 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -12,7 +12,6 @@ CMraProto::CMraProto(const char* _module, const TCHAR* _displayName) : m_bLoggedIn(false),
m_groups(5, NumericKeySortT)
{
- InitializeCriticalSectionAndSpinCount(&csCriticalSectionSend, 0);
MraSendQueueInitialize(0, &hSendQueueHandle);
MraFilesQueueInitialize(0, &hFilesQueueHandle);
MraMPopSessionQueueInitialize(&hMPopSessionQueue);//getByte("AutoAuthOnWebServices", MRA_DEFAULT_AUTO_AUTH_ON_WEB_SVCS)
@@ -72,7 +71,6 @@ CMraProto::~CMraProto() MraMPopSessionQueueDestroy(hMPopSessionQueue);
MraFilesQueueDestroy(hFilesQueueHandle);
MraSendQueueDestroy(hSendQueueHandle);
- DeleteCriticalSection(&csCriticalSectionSend);
}
INT_PTR CMraProto::MraCreateAccMgrUI(WPARAM, LPARAM lParam)
diff --git a/protocols/MRA/src/MraProto.h b/protocols/MRA/src/MraProto.h index 1a4f5a6a06..9d2d3e437a 100644 --- a/protocols/MRA/src/MraProto.h +++ b/protocols/MRA/src/MraProto.h @@ -191,7 +191,7 @@ struct CMraProto : public PROTO<CMraProto> char szNewMailSound[MAX_PATH];
- CRITICAL_SECTION csCriticalSectionSend;
+ mir_cs csCriticalSectionSend;
MCONTACT AddToListByEmail(LPCTSTR plpsEMail, LPCTSTR plpsNick, LPCTSTR plpsFirstName, LPCTSTR plpsLastName, DWORD dwFlags);
|