WebAdmin: Renamed two neighboring locks for better clarity / style.
This commit is contained in:
parent
7f14faf831
commit
dfb5722fb1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user