Skip to content

Instantly share code, notes, and snippets.

@gahr
Created December 14, 2020 11:13
Show Gist options
  • Select an option

  • Save gahr/464f5af5c37597895b7bcdfef97bced1 to your computer and use it in GitHub Desktop.

Select an option

Save gahr/464f5af5c37597895b7bcdfef97bced1 to your computer and use it in GitHub Desktop.
diff --git a/imap/command.c b/imap/command.c
index a6bf3de1a..996a76d5e 100644
--- a/imap/command.c
+++ b/imap/command.c
@@ -186,6 +186,10 @@ static void cmd_handle_fatal(struct ImapAccountData *adata)
mutt_clear_error();
adata->recovering = false;
}
+ else
+ {
+ adata->status = IMAP_FATAL;
+ }
}
/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment