From 36f7fe5a1c83f3f0dd8fc883db558ab058b974f3 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sat, 24 Dec 2011 13:52:43 -0500 Subject: show: Pass notmuch_message_t instead of path to show_message_body. In addition to simplifying the code, we'll need the notmuch_message_t* in show_message_body shortly. --- notmuch-show.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'notmuch-show.c') diff --git a/notmuch-show.c b/notmuch-show.c index 19fb49f2..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); -- cgit v1.2.3