]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-show.c
show: Pass notmuch_message_t instead of path to show_message_body.
[notmuch] / notmuch-show.c
index 19fb49f29b89172b63eed772ab79297e986904a1..0200b9c4a4cd28fe7126d83b5b0045c82037e9bb 100644 (file)
@@ -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);