mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:33:40 +00:00
[client] main: fix failure to startup when the guest VM has no UUID
This commit is contained in:
parent
20d459d113
commit
286e7622b8
@ -877,16 +877,16 @@ void spiceReady(void)
|
||||
break;
|
||||
}
|
||||
|
||||
if (!uuidValid)
|
||||
return;
|
||||
|
||||
memcpy(g_state.spiceUUID, info.uuid, sizeof(g_state.spiceUUID));
|
||||
checkUUID();
|
||||
if (uuidValid)
|
||||
{
|
||||
memcpy(g_state.spiceUUID, info.uuid, sizeof(g_state.spiceUUID));
|
||||
checkUUID();
|
||||
}
|
||||
purespice_freeServerInfo(&info);
|
||||
|
||||
if (g_params.useSpiceInput)
|
||||
keybind_spiceRegister();
|
||||
|
||||
purespice_freeServerInfo(&info);
|
||||
lgSignalEvent(e_spice);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user