changeset 19532:4cd83ea1a420

imap: Make sure pending input is handled when a pending command has input locked. This hopefully fixes the last assert-crash in client_check_command_hangs()
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Mon, 04 Jan 2016 13:12:18 -0500
parents 21e41add1925
children 06825c099fa1
files src/imap/imap-client.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/imap-client.c	Mon Jan 04 12:40:39 2016 -0500
+++ b/src/imap/imap-client.c	Mon Jan 04 13:12:18 2016 -0500
@@ -856,7 +856,7 @@
 		struct client_command_context *cmd = client->input_lock;
 
 		if (cmd->state != CLIENT_COMMAND_STATE_WAIT_UNAMBIGUITY)
-			return FALSE;
+			return TRUE;
 
 		/* the command is waiting for existing ambiguity causing
 		   commands to finish. */