Skip to content
Snippets Groups Projects
Commit 85f8b296 authored by Marco De Marco's avatar Marco De Marco
Browse files

Server state/status mutex fix

parent 6ddf3131
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ std::string Server::readStatus()
{
DEBUG_STREAM << "Server::readStatus()" << endl;
boost::mutex::scoped_lock statusLock(m_stateMutex);
boost::mutex::scoped_lock statusLock(m_statusMutex);
return m_status;
}
......@@ -171,7 +171,7 @@ void Server::writeStatus(std::string status)
{
DEBUG_STREAM << "Server::writeStatus()" << endl;
boost::mutex::scoped_lock statusLock(m_stateMutex);
boost::mutex::scoped_lock statusLock(m_statusMutex);
m_status = status;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment