[host] app: fix unchecked return value

This commit is contained in:
Geoffrey McRae 2023-11-11 20:50:42 +11:00
parent 3bad3837b4
commit ba8075a9fd

View File

@ -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;
}
{