{
if (msg->content->next)
msg->content = mutt_make_multipart(msg->content);
- mutt_encode_descriptions(msg->content, 1);
+ mutt_encode_descriptions(msg->content, true);
mutt_prepare_envelope(msg->env, false);
mutt_env_to_intl(msg->env, NULL, NULL);
}
* @param b Body of email
* @param recurse If true, encode children parts
*/
-void mutt_encode_descriptions(struct Body *b, short recurse)
+void mutt_encode_descriptions(struct Body *b, bool recurse)
{
for (struct Body *t = b; t; t = t->next)
{
msg->read = false;
msg->old = false;
- mutt_encode_descriptions(msg->content, 1);
+ mutt_encode_descriptions(msg->content, true);
mutt_prepare_envelope(msg->env, false);
mutt_env_to_intl(msg->env, NULL, NULL); /* Handle bad IDNAs the next time. */
* in case of error. Ugh.
*/
- mutt_encode_descriptions(msg->content, 1);
+ mutt_encode_descriptions(msg->content, true);
/* Make sure that clear_content and free_clear_content are
* properly initialized -- we may visit this particular place in
decode_descriptions(msg->content);
goto main_loop;
}
- mutt_encode_descriptions(msg->content, 0);
+ mutt_encode_descriptions(msg->content, false);
}
/* at this point, msg->content is one of the following three things:
void mutt_add_to_reference_headers(struct Envelope *env, struct Envelope *curenv);
int mutt_compose_to_sender(struct Header *hdr);
struct Address *mutt_default_from(void);
-void mutt_encode_descriptions(struct Body *b, short recurse);
+void mutt_encode_descriptions(struct Body *b, bool recurse);
int mutt_fetch_recips(struct Envelope *out, struct Envelope *in, int flags);
void mutt_fix_reply_recipients(struct Envelope *env);
void mutt_forward_intro(struct Context *ctx, struct Header *cur, FILE *fp);