mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!uuidValid)
|
if (uuidValid)
|
||||||
return;
|
{
|
||||||
|
memcpy(g_state.spiceUUID, info.uuid, sizeof(g_state.spiceUUID));
|
||||||
memcpy(g_state.spiceUUID, info.uuid, sizeof(g_state.spiceUUID));
|
checkUUID();
|
||||||
checkUUID();
|
}
|
||||||
|
purespice_freeServerInfo(&info);
|
||||||
|
|
||||||
if (g_params.useSpiceInput)
|
if (g_params.useSpiceInput)
|
||||||
keybind_spiceRegister();
|
keybind_spiceRegister();
|
||||||
|
|
||||||
purespice_freeServerInfo(&info);
|
|
||||||
lgSignalEvent(e_spice);
|
lgSignalEvent(e_spice);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user