projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workaround a stupid issue in how decoding is performed in mutt *sigh*
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
55b8854
..
d077993
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-274,7
+274,7
@@
static int edit_envelope (ENVELOPE * en, int flags)
}
else {
mutt_error (_("Ignoring $strip_was: Subject would be empty."));
}
else {
mutt_error (_("Ignoring $strip_was: Subject would be empty."));
- sleep (2);
+
mutt_
sleep (2);
}
}
if (mutt_get_field ("Subject: ", buf, sizeof (buf), 0) != 0 || (!buf[0]
}
}
if (mutt_get_field ("Subject: ", buf, sizeof (buf), 0) != 0 || (!buf[0]
@@
-1340,7
+1340,8
@@
int ci_send_message (int flags, /* send mode */
killfrom = 1; /* no need to check $use_from because if the user specified
a from address it would have already been set by now */
}
killfrom = 1; /* no need to check $use_from because if the user specified
a from address it would have already been set by now */
}
- mutt_select_fcc (fcc, sizeof (fcc), msg);
+ m_strcpy(fcc, sizeof(fcc), NONULL(MAlias.record));
+ mutt_pretty_mailbox(fcc);
if (killfrom) {
address_list_wipe(&msg->env->from);
killfrom = 0;
if (killfrom) {
address_list_wipe(&msg->env->from);
killfrom = 0;
@@
-1438,7
+1439,7
@@
int ci_send_message (int flags, /* send mode */
if (quadoption (OPT_ATTACH) == M_YES) {
mutt_message _("No attachments made but indicator found in text. "
"Abort sending.");
if (quadoption (OPT_ATTACH) == M_YES) {
mutt_message _("No attachments made but indicator found in text. "
"Abort sending.");
- sleep (2);
+
mutt_
sleep (2);
}
mutt_message (_("Mail not sent."));
goto main_loop;
}
mutt_message (_("Mail not sent."));
goto main_loop;