From e08a7cc8649d735a166879a3c1cf0b1642c651d1 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 30 Apr 2015 06:00:43 +0000 Subject: minus critical section git-svn-id: http://svn.miranda-ng.org/main/trunk@13268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/src/HTTPSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Quotes/src/HTTPSession.cpp') diff --git a/plugins/Quotes/src/HTTPSession.cpp b/plugins/Quotes/src/HTTPSession.cpp index f54a5cc69c..3cf0c407b7 100644 --- a/plugins/Quotes/src/HTTPSession.cpp +++ b/plugins/Quotes/src/HTTPSession.cpp @@ -172,7 +172,7 @@ namespace NETLIBHTTPREQUEST* pReply = NULL; { - CGuard guard(m_mx); + mir_cslock lck(m_mx); pReply = reinterpret_cast(CallService(MS_NETLIB_HTTPTRANSACTION, reinterpret_cast(g_hNetLib), reinterpret_cast(&nlhr))); } @@ -215,7 +215,7 @@ namespace static HANDLE g_hNetLib; typedef std::vector TBuffer; mutable TBuffer m_aURL; - mutable CLightMutex m_mx; + mutable mir_cs m_mx; }; HANDLE CImplMI::g_hNetLib = NULL; -- cgit v1.2.3