summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mime-node.c2
1 files changed, 1 insertions, 1 deletions
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