diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-08-17 11:59:31 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-08-17 11:59:31 +0000 |
commit | ff8d7bbc408757977c8eb9ba3fadec4bd9fa3a76 (patch) | |
tree | 598eefdf5e7ecb68eb0912acfa0f381074707988 /postpone.c | |
parent | 5c8c841ebe8020d1f3d8ead2a7cd848a50194e74 (diff) |
Fixing a mutt -p segfault.
Diffstat (limited to 'postpone.c')
-rw-r--r-- | postpone.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -206,7 +206,7 @@ int mutt_get_postponed (CONTEXT *ctx, HEADER *hdr, HEADER **cur, char *fcc, size /* if we're in an IMAP folder and the postponed folder is also IMAP, we may * need to take steps to avoid opening an additional connection to the same * server. */ - if ((ctx->magic == M_IMAP) && mx_is_imap (Postponed)) + if ((ctx && ctx->magic == M_IMAP) && mx_is_imap (Postponed)) { strfcpy (curpath, ctx->path, sizeof (curpath)); if (imap_select_mailbox (ctx, Postponed) < 0) |