mirror of
https://github.com/dovecot/core.git
synced 2026-10-23 22:08:58 +03:00
imap: cmd-list - Exit loop in cmd_list_continue() early upon connection failure
This commit is contained in:
@@ -252,6 +252,8 @@ static bool cmd_list_continue(struct client_command_context *cmd)
|
||||
|
||||
/* send LIST/LSUB response */
|
||||
ret = client_send_line_next(ctx->cmd->client, str_c(str));
|
||||
if (ret < 0)
|
||||
return TRUE;
|
||||
|
||||
/* send STATUS response */
|
||||
if (ctx->used_status) {
|
||||
|
||||
Reference in New Issue
Block a user