summaryrefslogtreecommitdiffstats
path: root/mime-node.c
diff options
context:
space:
mode:
Diffstat (limited to 'mime-node.c')
-rw-r--r--mime-node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mime-node.c b/mime-node.c
index c3d5cb9b..e1aca969 100644
--- a/mime-node.c
+++ b/mime-node.c
@@ -276,7 +276,7 @@ _mime_node_create (mime_node_t *parent, GMimeObject *part)
fprintf (stderr, "Warning: %s (%s).\n", notmuch_status_to_string (status),
protocol ? protocol : "NULL");
if (!cryptoctx)
- return NULL;
+ return node;
}
#endif