From 429ebf5d20a943fb520d7321c5dde721265b0155 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 26 May 2012 11:45:43 -0700 Subject: cli: modify mime_node_open to take new crypto struct as argument This simplifies the interface considerably. --- notmuch-show.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'notmuch-show.c') diff --git a/notmuch-show.c b/notmuch-show.c index cc509a6f..fb5e9b60 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)); -- cgit v1.2.3