[client] main: fix reversed check logic from testing/debug

This commit is contained in:
Geoffrey McRae 2022-01-06 14:40:34 +11:00
parent 7bcd0dd97f
commit 8cdeaceed9

View File

@ -843,7 +843,7 @@ static void checkUUID(void)
return;
if (memcmp(g_state.spiceUUID, g_state.guestUUID,
sizeof(g_state.spiceUUID)) != 0)
sizeof(g_state.spiceUUID)) == 0)
return;
DEBUG_ERROR("UUIDs do not match, you have connected SPICE to the wrong guest");