Merge pull request #5925 from Icinga/fix/missing-variable-name

Fix missing variable name in ApiListener::Start
This commit is contained in:
Michael Friedrich 2018-01-02 13:48:30 +01:00 committed by GitHub
commit 1a7e7be6a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ void ApiListener::Start(bool runtimeCreated)
ObjectImpl<ApiListener>::Start(runtimeCreated);
{
boost::mutex::scoped_lock(m_LogLock);
boost::mutex::scoped_lock lock(m_LogLock);
RotateLogFile();
OpenLogFile();
}