X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Findexopts.c;h=4a8608586a356c083ed8ad35e70fe8882fa21a25;hb=8aeba1228ace947c1b689ae6ae08db5d53755917;hp=82a0026f0d46b47d46e94407d2271df978bd90db;hpb=97fadd0645e908ff8322577a983dc710bfda33d6;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;