Commit a7704777 authored by Wayne Davison's avatar Wayne Davison

An extra safeguard for msg2sndr_flush().

parent 7d51b837
......@@ -1153,7 +1153,7 @@ static void msg2sndr_flush(void)
if (defer_forwarding_messages)
return;
while (msg2sndr.head) {
while (msg2sndr.head && io_multiplexing_out) {
struct msg_list_item *m = msg2sndr.head;
if (!(msg2sndr.head = m->next))
msg2sndr.tail = NULL;
......
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