From 93e2b89909ac060eccb27a3a651ab3efb4911c5c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 11 May 2015 10:58:51 +0000 Subject: cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@13522 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/MraProto.cpp | 2 -- protocols/MRA/src/MraProto.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/MRA/src') 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 char szNewMailSound[MAX_PATH]; - CRITICAL_SECTION csCriticalSectionSend; + mir_cs csCriticalSectionSend; MCONTACT AddToListByEmail(LPCTSTR plpsEMail, LPCTSTR plpsNick, LPCTSTR plpsFirstName, LPCTSTR plpsLastName, DWORD dwFlags); -- cgit v1.2.3