From 4ed19d5cf63e910c5bd5fbe1c18ae76370ff2a21 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 31 Dec 2017 19:12:33 +0100 Subject: [PATCH] Fix missing variable name in ApiListener::Start fixes #5924 refs #5807 --- lib/remote/apilistener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/apilistener.cpp b/lib/remote/apilistener.cpp index 1391e96cf..b4284bae8 100644 --- a/lib/remote/apilistener.cpp +++ b/lib/remote/apilistener.cpp @@ -220,7 +220,7 @@ void ApiListener::Start(bool runtimeCreated) ObjectImpl::Start(runtimeCreated); { - boost::mutex::scoped_lock(m_LogLock); + boost::mutex::scoped_lock lock(m_LogLock); RotateLogFile(); OpenLogFile(); }