imap_fetch_free() would have been called twice, which caused problems.
return TRUE;
}
+static bool cmd_fetch_finished(struct client_command_context *cmd ATTR_UNUSED)
+{
+ return TRUE;
+}
+
static bool cmd_fetch_finish(struct imap_fetch_context *ctx,
struct client_command_context *cmd)
{
output bytes are included in it (which wouldn't
happen if we called client_disconnect() here
directly). */
+ cmd->func = cmd_fetch_finished;
return cmd->cancel;
}