summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/HTTPSession.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-30 06:00:43 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-30 06:00:43 +0000
commite08a7cc8649d735a166879a3c1cf0b1642c651d1 (patch)
tree1916876b0586ea5bf1c00b22e59e274708e3b61d /plugins/Quotes/src/HTTPSession.cpp
parent481296bc540cdbdd0efef87ddaa173c96619edc3 (diff)
minus critical section
git-svn-id: http://svn.miranda-ng.org/main/trunk@13268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src/HTTPSession.cpp')
-rw-r--r--plugins/Quotes/src/HTTPSession.cpp4
1 files changed, 2 insertions, 2 deletions
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<CLightMutex> guard(m_mx);
+ mir_cslock lck(m_mx);
pReply = reinterpret_cast<NETLIBHTTPREQUEST*>(CallService(MS_NETLIB_HTTPTRANSACTION,
reinterpret_cast<WPARAM>(g_hNetLib), reinterpret_cast<LPARAM>(&nlhr)));
}
@@ -215,7 +215,7 @@ namespace
static HANDLE g_hNetLib;
typedef std::vector<char> TBuffer;
mutable TBuffer m_aURL;
- mutable CLightMutex m_mx;
+ mutable mir_cs m_mx;
};
HANDLE CImplMI::g_hNetLib = NULL;