[PATCH v2 02/14] cli/reply: push notmuch reply format abstraction lower in the stack

David Bremner david at tethera.net
Fri Sep 9 17:53:58 PDT 2016


Jani Nikula <jani at nikula.org> writes:

> -	if (mime_node_open (ctx, message, &(params->crypto), &root) == NOTMUCH_STATUS_SUCCESS) {
> -	    format_part_reply (root);
> -	    talloc_free (root);
> -	}
> +    g_object_unref (G_OBJECT (reply));
>  
> -	notmuch_message_destroy (message);
> +    if (mime_node_open (ctx, message, &params->crypto, &root) == NOTMUCH_STATUS_SUCCESS) {
> +	format_part_reply (root);
> +	talloc_free (root);

I'm not sure I should admit this, but I'd have to check a book to make
sure that &params->crypto is the same as &(params->crypto)


More information about the notmuch mailing list