X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=mime-node.c;h=1609173576e2fa4830e04540231f008bab48f2c8;hp=bb0870d024ad1f82127e37eeb564578bc9a2695a;hb=cd3f5e1a934b9952ca718e0c5bc1471b3884020c;hpb=949c27144e0b9294267511993a109c29d319a23d 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