Commit 0c36358a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Make assertion more strict.

parent 5d27f3ab
......@@ -420,7 +420,7 @@ schedule_unicast_flush(void)
static void
start_message(struct network *net, int bytes)
{
assert(net->buffered % 8 == 0);
assert(net->buffered % 24 == 0);
if(net->bufsize - net->buffered < bytes)
flushbuf(net);
}
......
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