[host] app: fix unchecked return value
This commit is contained in:
1 parent
3bad3837b4
commit
ba8075a9fd
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user