summaryrefslogtreecommitdiff
path: root/imap
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-12-02 20:26:43 -0700
committerEduardo Chappa <chappa@washington.edu>2021-12-02 20:26:43 -0700
commita82fb9e7d6735548b79e17df5042371c71296bdb (patch)
tree21ae6b5127ab1e94520cab255c8aee47aadf1448 /imap
parent17c8a3dd3fc40c919926a29b349bc60bfe9cd77a (diff)
downloadalpine-a82fb9e7d6735548b79e17df5042371c71296bdb.tar.xz
* Crash when saving multiple messages to a folder in the unix format.
Reported by Hisashi T Fujinaka.
Diffstat (limited to 'imap')
-rw-r--r--imap/src/osdep/unix/unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/osdep/unix/unix.c b/imap/src/osdep/unix/unix.c
index 955090d9..4bbaa01a 100644
--- a/imap/src/osdep/unix/unix.c
+++ b/imap/src/osdep/unix/unix.c
@@ -1113,7 +1113,7 @@ long unix_append (MAILSTREAM *stream,char *mailbox,append_t af,void *data)
MM_CRITICAL (stream); /* go critical */
/* try to open readwrite for UIDPLUS */
- if (au && (tstream = mail_open_work (&unixdriver,NIL,mailbox,
+ if ((tstream = mail_open_work (&unixdriver,NIL,mailbox,
OP_SILENT|OP_NOKOD)) && tstream->rdonly)
tstream = mail_close (tstream);
if (au && !tstream) { /* wanted an APPENDUID? */