]> granicus.if.org Git - neomutt/commitdiff
boolify
authorRichard Russon <rich@flatcap.org>
Tue, 4 Sep 2018 18:11:47 +0000 (19:11 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 4 Sep 2018 18:11:47 +0000 (19:11 +0100)
compose.c
recvattach.c

index 10a085f05455ab1822cb7aebb828f87588e4a1f4..c991c8c031e3ae3e7150262f7d6cc7d9b77b33e2 100644 (file)
--- a/compose.c
+++ b/compose.c
@@ -1374,7 +1374,7 @@ int mutt_compose_menu(struct Header *msg, char *fcc, size_t fcclen,
         {
           char *att = files[i];
           new = mutt_mem_calloc(1, sizeof(struct AttachPtr));
-          new->unowned = 1;
+          new->unowned = true;
           new->content = mutt_make_file_attach(att);
           if (new->content)
             update_idx(menu, actx, new);
index f0767f0a0ef1bfefb15c2c6af3f0919fa082145f..283b42d1ff9774b3f1eed37f1a96acd9dbf934ed 100644 (file)
@@ -1124,7 +1124,7 @@ int mutt_attach_display_loop(struct Menu *menu, int op, struct Header *hdr,
  */
 static void mutt_generate_recvattach_list(struct AttachCtx *actx, struct Header *hdr,
                                           struct Body *m, FILE *fp,
-                                          int parent_type, int level, int decrypted)
+                                          int parent_type, int level, bool decrypted)
 {
   struct AttachPtr *new = NULL;
   struct Body *new_body = NULL;