X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Findexopts.c;h=4a8608586a356c083ed8ad35e70fe8882fa21a25;hb=f25e48e0234a050cab38306a066605a0f8bd3d12;hp=82a0026f0d46b47d46e94407d2271df978bd90db;hpb=31dab9b1cd66c7f285fe86021f66940f679325d4;p=notmuch diff --git a/lib/indexopts.c b/lib/indexopts.c index 82a0026f..4a860858 100644 --- a/lib/indexopts.c +++ b/lib/indexopts.c @@ -31,6 +31,7 @@ notmuch_database_get_default_indexopts (notmuch_database_t *db) char *decrypt_policy; notmuch_status_t err = notmuch_database_get_config (db, "index.decrypt", &decrypt_policy); + if (err) return NULL;