From dfb5722fb13969a39249b2bacf57018f4f452b13 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Wed, 18 Jan 2017 22:44:44 +0100 Subject: WebAdmin: Renamed two neighboring locks for better clarity / style. --- src/WebAdmin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WebAdmin.cpp b/src/WebAdmin.cpp index 6906c540f..ee5d536f9 100644 --- a/src/WebAdmin.cpp +++ b/src/WebAdmin.cpp @@ -340,8 +340,8 @@ void cWebAdmin::HandleWebadminRequest(cHTTPServerConnection & a_Connection, cHTT // Try to get the template from the Lua template script if (ShouldWrapInTemplate) { - cCSLock Lock(m_CS); - cLuaState::cLock lock(m_TemplateScript); + cCSLock LockSelf(m_CS); + cLuaState::cLock LockTemplate(m_TemplateScript); if (m_TemplateScript.Call("ShowPage", this, &TemplateRequest, cLuaState::Return, Template)) { cHTTPOutgoingResponse Resp; -- cgit v1.2.3