summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/HTTPSession.cpp
diff options
context:
space:
mode:
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;