summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-08-08 18:17:27 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-08-08 18:17:27 +0000
commit31c437cabe6071e04891f2e71f5068710e301ebc (patch)
treec913b747b83a5f0835657a2b0a5fd85a9120953b /init.c
parentd98e3dc3ddce071a909345283eb703c923d8943d (diff)
* handles expunged messages better. Previously mutt's state was only
updated when syncing the mailbox. This was the reason for Bob Bell's segfault when manipulating mailboxes with multiple simultaneous clients. * makes a small adjustment for Sam's weird Courier server, which returns an OK FETCH completed response even when FETCH fails. I should probably report that behaviour to him as a bug, though. * renames IMAP_REOPEN_PENDING to IMAP_EXPUNGE_PENDING * gets rid of the _("Closing mailbox...") message, which was obscuring the status updates. * clears some spurious mutt_clear_error calls in imap_cmd_finish. * makes socket reads and writes check that they have an open connection. Shouldn't be necessary (and such calls are logged), but can happen currently. * Some SASL vs regular authenticator tweaks in the imap Makefile. (From Brendan Cully.)
Diffstat (limited to 'init.c')
-rw-r--r--init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.c b/init.c
index 533f8b71..7d26ea6c 100644
--- a/init.c
+++ b/init.c
@@ -1836,6 +1836,10 @@ void mutt_init (int skip_sys_rc, LIST *commands)
set_option (OPTLOCALES);
#endif
+ /* Unset suspend by default if we're the session leader */
+ if (getsid(0) == getpid())
+ unset_option (OPTSUSPEND);
+
mutt_init_history ();