aboutsummaryrefslogtreecommitdiff
path: root/notmuch-reply.c
diff options
context:
space:
mode:
authorAustin Clements <amdragon@MIT.EDU>2012-08-02 21:14:53 -0400
committerDavid Bremner <bremner@debian.org>2012-08-03 20:30:49 -0300
commit7018fc58b4ebf6e2c52102c0443169f8120db261 (patch)
treef74c0179bc09c0ec038f5f4472eea05d5d4a91ee /notmuch-reply.c
parent3a08341e504d7f9b27f8a67a2fed223a38edb706 (diff)
show: Convert format_headers_json to use sprinter
This no longer requires a talloc context (not that it really did before since it didn't return anything), so we remove its context argument.
Diffstat (limited to 'notmuch-reply.c')
-rw-r--r--notmuch-reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-reply.c b/notmuch-reply.c
index 07d4452..fa6665f 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -617,7 +617,7 @@ 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;