mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-03 19:27:10 +00:00
[client] main: fix failure to startup when the guest VM has no UUID
This commit is contained in:
parent
20d459d113
commit
286e7622b8
1 changed files with 6 additions and 6 deletions
|
@ -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 a new issue