summaryrefslogtreecommitdiff
path: root/alpine/mailcmd.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2013-09-12 00:40:26 -0600
committerEduardo Chappa <chappa@washington.edu>2013-09-12 00:40:26 -0600
commit1de2a1f9a4cc3b9496e836f9487c721526b4add1 (patch)
treefd8bf476633c30ae86c57498f627ab8f170a8a44 /alpine/mailcmd.c
parentf9461927f7d10d04b03301dee6fc53f7440b90cc (diff)
downloadalpine-1de2a1f9a4cc3b9496e836f9487c721526b4add1.tar.xz
* Save command did not warn of existence of a message with a deleted
attachment in an aggregate save, unless cursor was positioned on a message with a deleted attachment. Reported by Florian Herzig. * Rewrite of configure script: ldap is checked for after ssl, which is checked after crypto, which is checked for after dl library. Set defaults for include and lib directories based on SSLDIR. Joint work with Florian Herzig. * Update contact information (remove alpine-contact@u.washington.edu and add chappa@gmx.com)
Diffstat (limited to 'alpine/mailcmd.c')
-rw-r--r--alpine/mailcmd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/alpine/mailcmd.c b/alpine/mailcmd.c
index 17da8ec8..57716e4e 100644
--- a/alpine/mailcmd.c
+++ b/alpine/mailcmd.c
@@ -2370,18 +2370,19 @@ cmd_save(struct pine *state, MAILSTREAM *stream, MSGNO_S *msgmap, int aopt, CmdW
dprint((4, "\n - saving message -\n"));
+ if(MCMD_ISAGG(aopt) && !pseudo_selected(stream, msgmap))
+ return rv;
+
state->ugly_consider_advancing_bit = 0;
if(F_OFF(F_SAVE_PARTIAL_WO_CONFIRM, state)
&& msgno_any_deletedparts(stream, msgmap)
&& want_to(_("Saved copy will NOT include entire message! Continue"),
'y', 'n', NO_HELP, WT_FLUSH_IN | WT_SEQ_SENSITIVE) != 'y'){
+ restore_selected(msgmap);
cmd_cancelled("Save message");
return rv;
}
- if(MCMD_ISAGG(aopt) && !pseudo_selected(stream, msgmap))
- return rv;
-
raw = mn_m2raw(msgmap, mn_get_cur(msgmap));
if(mn_total_cur(msgmap) <= 1L){