]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
notmuch-dump: remove deprecated positional argument for output file
[notmuch] / notmuch-reply.c
index e42ba79fcb443796a03cfb150a01d45899ab8f4e..fa6665f7191572d84e4c41ce535330ae4199090e 100644 (file)
@@ -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");