Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5367:fab770c51321 HEAD
Keep better track of client->last_output timestamp.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 21 Mar 2007 21:16:44 +0200 |
parents | a42014a7d8be |
children | 7d45edb81fe4 |
files | src/imap/client.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/client.c Tue Mar 20 17:00:25 2007 +0200 +++ b/src/imap/client.c Wed Mar 21 21:16:44 2007 +0200 @@ -156,6 +156,7 @@ if (o_stream_sendv(client->output, iov, 2) < 0) return -1; + client->last_output = ioloop_time; if (o_stream_get_buffer_used_size(client->output) >= CLIENT_OUTPUT_OPTIMAL_SIZE) { @@ -180,6 +181,8 @@ (void)o_stream_send(client->output, " ", 1); (void)o_stream_send_str(client->output, data); (void)o_stream_send(client->output, "\r\n", 2); + + client->last_output = ioloop_time; } void client_send_command_error(struct client_command_context *cmd,