Skip to content

Commit

Permalink
imap: Make sure pending input is handled when a pending command has i…
Browse files Browse the repository at this point in the history
…nput locked.

This hopefully fixes the last assert-crash in client_check_command_hangs()
  • Loading branch information
sirainen committed Jan 4, 2016
1 parent c7801f8 commit f136b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imap/imap-client.c
Expand Up @@ -856,7 +856,7 @@ static bool client_remove_pending_unambiguity(struct client *client)
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. */
Expand Down

0 comments on commit f136b00

Please sign in to comment.