]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-search.c
Rename NOTMUCH_DATABASE_MODE_WRITABLE to NOTMUCH_DATABASE_MODE_READ_WRITE
[notmuch] / notmuch-search.c
index cde97351b493514228ca7e2df69c5d5a65ca1eac..aa6662bd73b62b3708e363f196abc9abf39b0f0e 100644 (file)
@@ -130,7 +130,7 @@ notmuch_search_command (void *ctx, int argc, char *argv[])
        return 1;
 
     notmuch = notmuch_database_open (notmuch_config_get_database_path (config),
-                                    NOTMUCH_DATABASE_MODE_READONLY);
+                                    NOTMUCH_DATABASE_MODE_READ_ONLY);
     if (notmuch == NULL)
        return 1;