diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-30 18:52:54 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-30 18:52:54 +0000 |
commit | bb4e8721d14fbbcf8cafc976ba882326109f3ccf (patch) | |
tree | fa4f9ee246fc78a449da47194ec710056ca5072d /plugins/Exchange/src/utils.cpp | |
parent | 5f7961a471c1027e32297099de33769a4247a60d (diff) |
minus critical section
git-svn-id: http://svn.miranda-ng.org/main/trunk@13302 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Exchange/src/utils.cpp')
-rw-r--r-- | plugins/Exchange/src/utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Exchange/src/utils.cpp b/plugins/Exchange/src/utils.cpp index 4a2ff20514..4208576f9f 100644 --- a/plugins/Exchange/src/utils.cpp +++ b/plugins/Exchange/src/utils.cpp @@ -23,6 +23,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define ___DEB
+mir_cs csCheck;
+
int LogInit()
{
#ifdef ___DEBUGG
@@ -201,7 +203,7 @@ RECT AnchorCalcPos(HWND window, const RECT *rParent, const WINDOWPOS *parentPos, DWORD WINAPI CheckEmailWorkerThread(LPVOID data)
{
- EnterCriticalSection(&csCheck);
+ mir_cslock lck(csCheck);
int bForceAttempt = (int) data;
@@ -210,8 +212,6 @@ DWORD WINAPI CheckEmailWorkerThread(LPVOID data) exchangeServer.Check(bForceAttempt);
- LeaveCriticalSection(&csCheck);
-
return 0;
}
|