Commit d2173454 authored by Marco Bubke's avatar Marco Bubke Committed by Nikolai Kosjar

CmbIpc: Fix wrong block size

The block size was one to big and so the command could only read after a
new command arrived.

Change-Id: I64ae47667d27d66e132031b10d4f130c53d3b0e9
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 287a2630
......@@ -56,7 +56,7 @@ void WriteCommandBlock::write(const QVariant &command)
out << command;
out.device()->seek(0);
out << qint32(block.size());
out << qint32(block.size() - sizeof(qint32));
++commandCounter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment