# HG changeset patch # User Timo Sirainen # Date 1115989877 -10800 # Node ID 7e046c4cba1f693a82fc057bab20202b7456ddc4 # Parent 4bb8af354951db9aa08e35c080fa6b306b1c12a6 Fixed output getting stuck when transmit buffer was full. diff -r 4bb8af354951 -r 7e046c4cba1f src/pop3/client.c --- a/src/pop3/client.c Wed May 11 00:36:05 2005 +0300 +++ b/src/pop3/client.c Fri May 13 16:11:17 2005 +0300 @@ -345,8 +345,11 @@ client->last_output = ioloop_time; o_stream_cork(client->output); - if (client->cmd != NULL) + if (client->cmd != NULL) { client->cmd(client); + if (client->cmd != NULL) + o_stream_set_flush_pending(client->output, TRUE); + } o_stream_uncork(client->output); if (o_stream_get_buffer_used_size(client->output) <