mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
[host] app: fix unchecked return value
This commit is contained in:
parent
3bad3837b4
commit
ba8075a9fd
@ -603,7 +603,8 @@ static bool newKVMFRData(KVMFRUserData * dst)
|
||||
.features = os_hasSetCursorPos() ? KVMFR_FEATURE_SETCURSORPOS : 0
|
||||
};
|
||||
strncpy(kvmfr.hostver, BUILD_VERSION, sizeof(kvmfr.hostver) - 1);
|
||||
appendData(dst, &kvmfr, sizeof(kvmfr));
|
||||
if (!appendData(dst, &kvmfr, sizeof(kvmfr)))
|
||||
return false;
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user