aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2011-12-24 13:52:43 -0500
committerGravatar David Bremner <bremner@debian.org>2011-12-25 22:17:27 -0400
commit36f7fe5a1c83f3f0dd8fc883db558ab058b974f3 (patch)
treed571d2883fb41250a26c855209b2ffe1f640fce4 /notmuch-reply.c
parentc44a0edadca995ddee4b159e9c465d40a32af6e4 (diff)
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.
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index 7ac879f9..f8d5f647 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -546,8 +546,7 @@ notmuch_reply_format_default(void *ctx,
notmuch_message_get_header (message, "date"),
notmuch_message_get_header (message, "from"));
- show_message_body (notmuch_message_get_filename (message),
- format, params);
+ show_message_body (message, format, params);
notmuch_message_destroy (message);
}