dovecot: If SEARCH wasn't handled in one run, it may have hanged.

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 4 18:53:38 EET 2008


details:   http://hg.dovecot.org/dovecot/rev/2ed72512334b
changeset: 7212:2ed72512334b
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 04 18:53:34 2008 +0200
description:
If SEARCH wasn't handled in one run, it may have hanged.

diffstat:

1 file changed, 3 insertions(+), 3 deletions(-)
src/imap/cmd-search.c |    6 +++---

diffs (17 lines):

diff -r 83fb5f84a270 -r 2ed72512334b src/imap/cmd-search.c
--- a/src/imap/cmd-search.c	Mon Feb 04 11:21:50 2008 +0200
+++ b/src/imap/cmd-search.c	Mon Feb 04 18:53:34 2008 +0200
@@ -134,10 +134,10 @@ static void cmd_search_more_callback(str
 
 	if (!finished)
 		(void)client_handle_unfinished_cmd(cmd);
-	else {
+	else
 		client_command_free(cmd);
-		client_continue_pending_input(&client);
-	}
+	(void)cmd_sync_delayed(client);
+	client_continue_pending_input(&client);
 }
 
 bool cmd_search(struct client_command_context *cmd)


More information about the dovecot-cvs mailing list