An extra safeguard for msg2sndr_flush().

This commit is contained in:
Wayne Davison
2006-03-16 10:08:08 +00:00
parent 7d51b8374d
commit a7704777ce

2
io.c
View File

@@ -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;