1
0
Fork 0

WebAdmin: Renamed two neighboring locks for better clarity / style.

This commit is contained in:
Mattes D 2017-01-18 22:44:44 +01:00
parent 7f14faf831
commit dfb5722fb1
1 changed files with 2 additions and 2 deletions

View File

@ -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;