From 1de2a1f9a4cc3b9496e836f9487c721526b4add1 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Thu, 12 Sep 2013 00:40:26 -0600 Subject: * 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) --- alpine/mailcmd.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'alpine/mailcmd.c') 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){ -- cgit v1.2.3-54-g00ecf