aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-restore.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-21 22:10:18 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-21 22:10:18 +0100
commit637f99d8f3f45867d0a856503f9f302333824c07 (patch)
tree725fe7c08aa5ac076616e7f8dab8a4c0063ed221 /notmuch-restore.c
parentf379aa52845f5594aa6cc2e7cf131d5f57202bbf (diff)
Rename NOTMUCH_DATABASE_MODE_WRITABLE to NOTMUCH_DATABASE_MODE_READ_WRITE
And correspondingly, READONLY to READ_ONLY.
Diffstat (limited to 'notmuch-restore.c')
-rw-r--r--notmuch-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-restore.c b/notmuch-restore.c
index 001f3fcb..1b9598dc 100644
--- a/notmuch-restore.c
+++ b/notmuch-restore.c
@@ -37,7 +37,7 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[])
return 1;
notmuch = notmuch_database_open (notmuch_config_get_database_path (config),
- NOTMUCH_DATABASE_MODE_WRITABLE);
+ NOTMUCH_DATABASE_MODE_READ_WRITE);
if (notmuch == NULL)
return 1;