mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:18:07 +00:00
Minor fix
This commit is contained in:
parent
5b91b571be
commit
54cb53122a
@ -71,7 +71,7 @@ bool ControlWorker::writeData(const QByteArray &data)
|
||||
*p++ = dataSize;
|
||||
|
||||
if (dataSize != 0) {
|
||||
memcpy(p, data.constData(), data.size());
|
||||
memcpy(p, data.constData(), dataSize);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user