From: Thomas Roessler Date: Fri, 19 Sep 2003 12:56:49 +0000 (+0000) Subject: Change abort_unmodified so it doesn't abort a message that has an X-Git-Tag: pre-type-punning-patch~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8388ccecba8249a095719b53e36259023f208808;p=mutt Change abort_unmodified so it doesn't abort a message that has an attachment. Catches the "send a file from the command line, quickly" case. --- diff --git a/send.c b/send.c index 08539f91..7271501d 100644 --- a/send.c +++ b/send.c @@ -1353,7 +1353,7 @@ ci_send_message (int flags, /* send mode */ if (stat (msg->content->filename, &st) == 0) { /* if the file was not modified, bail out now */ - if (mtime == st.st_mtime && + if (mtime == st.st_mtime && !msg->content->next && query_quadoption (OPT_ABORT, _("Abort unmodified message?")) == M_YES) { mutt_message _("Aborted unmodified message.");