X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-show.c;h=0200b9c4a4cd28fe7126d83b5b0045c82037e9bb;hp=8da3295e3cee204c7ac847928fbe477c1608b659;hb=e32c8a5e6bcc7bdbf5e1a5800ac42e25dc8ca70e;hpb=ff91aeedc170b15ea26c68e514b8279ca3ebd3b6 diff --git a/notmuch-show.c b/notmuch-show.c index 8da3295e..0200b9c4 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -758,8 +758,7 @@ show_message (void *ctx, } if (format->part_content) - show_message_body (notmuch_message_get_filename (message), - format, params); + show_message_body (message, format, params); if (params->part <= 0) { fputs (format->body_end, stdout); @@ -866,7 +865,7 @@ do_show_single (void *ctx, while (!feof (file)) { size = fread (buf, 1, sizeof (buf), file); - fwrite (buf, size, 1, stdout); + (void) fwrite (buf, size, 1, stdout); } fclose (file);