# HG changeset patch # User Timo Sirainen # Date 1451931138 18000 # Node ID 4cd83ea1a42010a2df5d269c78ffaca843486805 # Parent 21e41add19257644d1ce49f489c74bfbfc2b44a0 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() diff -r 21e41add1925 -r 4cd83ea1a420 src/imap/imap-client.c --- 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. */