if (msg->content->next)
msg->content = mutt_make_multipart(msg->content);
mutt_encode_descriptions(msg->content, 1);
- mutt_prepare_envelope(msg->env, 0);
+ mutt_prepare_envelope(msg->env, false);
mutt_env_to_intl(msg->env, NULL, NULL);
}
void mutt_parse_mime_message(struct Context *ctx, struct Header *cur);
void mutt_parse_part(FILE *fp, struct Body *b);
void mutt_perror_debug(const char *s);
-void mutt_prepare_envelope(struct Envelope *env, int final);
+void mutt_prepare_envelope(struct Envelope *env, bool final);
void mutt_unprepare_envelope(struct Envelope *env);
void mutt_pretty_mailbox(char *s, size_t buflen);
void mutt_pipe_message(struct Header *h);
msg->old = false;
mutt_encode_descriptions(msg->content, 1);
- mutt_prepare_envelope(msg->env, 0);
+ mutt_prepare_envelope(msg->env, false);
mutt_env_to_intl(msg->env, NULL, NULL); /* Handle bad IDNAs the next time. */
if (!Postponed || mutt_write_fcc(NONULL(Postponed), msg,
if (!OptNoCurses && !(flags & SENDMAILX))
mutt_message(_("Sending message..."));
- mutt_prepare_envelope(msg->env, 1);
+ mutt_prepare_envelope(msg->env, true);
/* save a copy of the message, if necessary. */
*
* For postponing (!final) do the necessary encodings only
*/
-void mutt_prepare_envelope(struct Envelope *env, int final)
+void mutt_prepare_envelope(struct Envelope *env, bool final)
{
if (final)
{