Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3949:4b6f9e5f7f09 HEAD
Last APPEND-fix left connection always stuck afterwards.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 28 Jan 2006 13:32:10 +0200 |
parents | 795cc9739eb3 |
children | 374ff0d56803 |
files | src/imap/cmd-append.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-append.c Fri Jan 27 17:58:26 2006 +0200 +++ b/src/imap/cmd-append.c Sat Jan 28 13:32:10 2006 +0200 @@ -61,7 +61,11 @@ /* command execution was finished. Note that if cmd_sync() didn't finish, we didn't get here but the input handler has already been moved. So don't do anything important - here.. */ + here.. + + reset command once again to reset cmd_sync()'s changes. */ + _client_reset_command(client); + if (client->input_pending) _client_input(client); } @@ -122,6 +126,7 @@ mailbox_close(&ctx->box); ctx->client->bad_counter = 0; + /* reset command so that flush callback gets changed back to normal. */ _client_reset_command(ctx->client); }