X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reply.c;h=fa6665f7191572d84e4c41ce535330ae4199090e;hp=e42ba79fcb443796a03cfb150a01d45899ab8f4e;hb=760e17488e6b11299f2971cf879b109b84816d14;hpb=7b2c4481f10b19a6847e6064da5ee86f9999a0d5 diff --git a/notmuch-reply.c b/notmuch-reply.c index e42ba79f..fa6665f7 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -617,14 +617,14 @@ notmuch_reply_format_json(void *ctx, /* The headers of the reply message we've created */ printf ("{\"reply-headers\": "); - format_headers_json (ctx, reply, TRUE); + format_headers_json (sp, reply, TRUE); g_object_unref (G_OBJECT (reply)); reply = NULL; /* Start the original */ printf (", \"original\": "); - format_part_json (ctx, node, TRUE, TRUE); + format_part_json (ctx, sp, node, TRUE, TRUE); /* End */ printf ("}\n");