specified. In fact, if the folder isn't specified, it will core-dump.
The attached patch will use INBOX as the IMAP folder name if none is
specified, eliminating the core-dump.
(From: Aaron Schrab <aaron+mutt@schrab.com>)
ctx->data = safe_malloc (sizeof (IMAP_DATA));
memset (ctx->data, 0, sizeof (IMAP_DATA));
- CTX_DATA->mailbox = safe_strdup (pc);
+ CTX_DATA->mailbox = safe_strdup (*pc?pc:"INBOX");
conn = mutt_socket_select_connection (host, IMAP_PORT, M_NEW_SOCKET);
CTX_DATA->conn = conn;