[host] fix crash on screen blanking

This commit is contained in:
Geoffrey McRae committed 2018-06-01 00:39:18 +10:00
1 parent 14954cc426
commit 8a9d0b0bfb
3 files changed
+18 -16

No files matched your search

+1 -3
View File
@@ -183,10 +183,8 @@ bool Service::Process()
// wait for the host to notify that is it is ready to proceed
while (true)
{
const uint8_t f = *flags;
// check if the client has flagged a restart
if (f & KVMFR_HEADER_FLAG_RESTART)
if (*flags & KVMFR_HEADER_FLAG_RESTART)
{
DEBUG_INFO("Restart Requested");
if (!m_capture->ReInitialize())