]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
notmuch show: Properly nest MIME parts within mulipart parts
[notmuch] / notmuch-reply.c
index 23d04b8b1ea01083de530204bc4b95eeaaf130c5..71edb662e02edb35fcdc3441ec2e92e33d3d2674 100644 (file)
@@ -72,7 +72,7 @@ show_reply_headers (GMimeMessage *message)
 }
 
 static void
-reply_part (GMimeObject *part, int *part_count)
+reply_part (GMimeObject *part, int *part_count, unused (int first))
 {
     GMimeContentDisposition *disposition;
     GMimeContentType *content_type;
@@ -505,7 +505,8 @@ notmuch_reply_format_default(void *ctx, notmuch_config_t *config, notmuch_query_
                notmuch_message_get_header (message, "date"),
                notmuch_message_get_header (message, "from"));
 
-       show_message_body (notmuch_message_get_filename (message), reply_part);
+       show_message_body (notmuch_message_get_filename (message),
+                          reply_part, NULL);
 
        notmuch_message_destroy (message);
     }