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
|
// Try to get the template from the Lua template script
|
||||||
if (ShouldWrapInTemplate)
|
if (ShouldWrapInTemplate)
|
||||||
{
|
{
|
||||||
cCSLock Lock(m_CS);
|
cCSLock LockSelf(m_CS);
|
||||||
cLuaState::cLock lock(m_TemplateScript);
|
cLuaState::cLock LockTemplate(m_TemplateScript);
|
||||||
if (m_TemplateScript.Call("ShowPage", this, &TemplateRequest, cLuaState::Return, Template))
|
if (m_TemplateScript.Call("ShowPage", this, &TemplateRequest, cLuaState::Return, Template))
|
||||||
{
|
{
|
||||||
cHTTPOutgoingResponse Resp;
|
cHTTPOutgoingResponse Resp;
|
||||||
|
Loading…
Reference in New Issue
Block a user