summaryrefslogtreecommitdiff
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
parent17c8a3dd3fc40c919926a29b349bc60bfe9cd77a (diff)
downloadalpine-a82fb9e7d6735548b79e17df5042371c71296bdb.tar.xz
* Crash when saving multiple messages to a folder in the unix format.
Reported by Hisashi T Fujinaka.
-rw-r--r--imap/src/osdep/unix/unix.c2
-rw-r--r--pith/pine.hlp2
2 files changed, 2 insertions, 2 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? */
diff --git a/pith/pine.hlp b/pith/pine.hlp
index 63f8ec78..36fd5e3a 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 626 2021-11-26 14:43:28
+Alpine Commit 627 2021-12-02 20:26:40
============= h_news =================
<HTML>
<HEAD>