]> granicus.if.org Git - neomutt/commitdiff
boolify recvcmd
authorRichard Russon <rich@flatcap.org>
Wed, 18 Jul 2018 21:29:05 +0000 (22:29 +0100)
committerRichard Russon <rich@flatcap.org>
Thu, 19 Jul 2018 09:56:47 +0000 (10:56 +0100)
recvcmd.c

index 6526bd81f874d1bacc42e40f10a1fa255569b98f..2f2e4b406d6dfb195c7553993cb39799bfdd8e08 100644 (file)
--- a/recvcmd.c
+++ b/recvcmd.c
@@ -393,7 +393,7 @@ static void include_header(int quote, FILE *ifp, struct Header *hdr, FILE *ofp,
  * This code is shared by forwarding and replying.
  */
 static struct Body **copy_problematic_attachments(struct Body **last,
-                                                  struct AttachCtx *actx, short force)
+                                                  struct AttachCtx *actx, bool force)
 {
   for (short i = 0; i < actx->idxlen; i++)
   {
@@ -975,7 +975,7 @@ void mutt_attach_reply(FILE *fp, struct Header *hdr, struct AttachCtx *actx,
     mutt_make_post_indent(Context, parent_hdr, tmpfp);
 
     if (mime_reply_any && !cur &&
-        copy_problematic_attachments(&tmphdr->content, actx, 0) == NULL)
+        copy_problematic_attachments(&tmphdr->content, actx, false) == NULL)
     {
       mutt_header_free(&tmphdr);
       mutt_file_fclose(&tmpfp);