Commit 428a68b2 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo.

parent 6568e9d0
...@@ -596,11 +596,12 @@ start_unicast_message(struct neighbour *neigh, int type, int len) ...@@ -596,11 +596,12 @@ start_unicast_message(struct neighbour *neigh, int type, int len)
} }
static void static void
end_unicast_message(struct neighbour *neigh, int type, int bytes) { end_unicast_message(struct neighbour *neigh, int type, int bytes)
{
assert(unicast_neighbour == neigh && unicast_buffered >= bytes + 2 && assert(unicast_neighbour == neigh && unicast_buffered >= bytes + 2 &&
unicast_buffer[unicast_buffered - bytes - 2] == type && unicast_buffer[unicast_buffered - bytes - 2] == type &&
unicast_buffer[unicast_buffered - bytes - 1] == bytes); unicast_buffer[unicast_buffered - bytes - 1] == bytes);
schedule_unicast_flush(-1); schedule_unicast_flush(jitter(neigh->network, 0));
} }
static void static void
......
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