X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=mime-node.c;h=1609173576e2fa4830e04540231f008bab48f2c8;hp=bb0870d024ad1f82127e37eeb564578bc9a2695a;hb=83f266136369452b859393429b8530efac2e09fb;hpb=66c9b11bb05e09a7fa2a8ff390190cc16c1499e6 diff --git a/mime-node.c b/mime-node.c index bb0870d0..16091735 100644 --- a/mime-node.c +++ b/mime-node.c @@ -247,7 +247,7 @@ _mime_node_create (mime_node_t *parent, GMimeObject *part) const char *protocol = g_mime_content_type_get_parameter (content_type, "protocol"); cryptoctx = notmuch_crypto_get_context (node->ctx->crypto, protocol); if (!cryptoctx) - return NULL; + return node; } #endif