mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-03 11:17:10 +00:00
[host] app: fix unchecked return value
This commit is contained in:
parent
3bad3837b4
commit
ba8075a9fd
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue