continue;
new = (struct AttachPtr *) mutt_mem_calloc(1, sizeof(struct AttachPtr));
- new->content = mutt_make_message_attach(Context, Context->hdrs[i], 1);
+ new->content = mutt_make_message_attach(Context, Context->hdrs[i], true);
if (new->content != NULL)
update_idx(menu, actx, new);
else
struct Address *mutt_addr_parse_list2(struct Address *p, const char *s);
struct Body *mutt_make_file_attach(const char *path);
-struct Body *mutt_make_message_attach(struct Context *ctx, struct Header *hdr, int attach_msg);
+struct Body *mutt_make_message_attach(struct Context *ctx, struct Header *hdr, bool attach_msg);
struct Body *mutt_remove_multipart(struct Body *b);
struct Body *mutt_make_multipart(struct Body *b);
struct Body *mutt_parse_multipart(FILE *fp, const char *boundary, LOFF_T end_off, bool digest);
if (cur)
{
- tmp = mutt_make_message_attach(ctx, cur, 0);
+ tmp = mutt_make_message_attach(ctx, cur, false);
if (last)
last->next = tmp;
else
if (!message_is_tagged(ctx, i))
continue;
- tmp = mutt_make_message_attach(ctx, ctx->hdrs[i], 0);
+ tmp = mutt_make_message_attach(ctx, ctx->hdrs[i], false);
if (last)
{
last->next = tmp;
* @retval ptr Newly allocated Body
* @retval NULL Error
*/
-struct Body *mutt_make_message_attach(struct Context *ctx, struct Header *hdr, int attach_msg)
+struct Body *mutt_make_message_attach(struct Context *ctx, struct Header *hdr, bool attach_msg)
{
char buffer[LONG_STRING];
struct Body *body = NULL;