diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2012-05-26 11:45:43 -0700 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-06-10 20:06:48 -0300 |
commit | 429ebf5d20a943fb520d7321c5dde721265b0155 (patch) | |
tree | 2d1a877a74e8f8e833e4056b620324cce33c3810 /notmuch-show.c | |
parent | c3eba1c3f85394b977f513059a0585d89a9a4e2d (diff) |
cli: modify mime_node_open to take new crypto struct as argument
This simplifies the interface considerably.
Diffstat (limited to 'notmuch-show.c')
-rw-r--r-- | notmuch-show.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/notmuch-show.c b/notmuch-show.c index cc509a6..fb5e9b6 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -810,8 +810,7 @@ show_message (void *ctx, mime_node_t *root, *part; notmuch_status_t status; - status = mime_node_open (local, message, params->crypto.gpgctx, - params->crypto.decrypt, &root); + status = mime_node_open (local, message, &(params->crypto), &root); if (status) goto DONE; part = mime_node_seek_dfs (root, (params->part < 0 ? 0 : params->part)); |