aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-new.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-new.c
parentf379aa52845f5594aa6cc2e7cf131d5f57202bbf (diff)
Rename NOTMUCH_DATABASE_MODE_WRITABLE to NOTMUCH_DATABASE_MODE_READ_WRITE
And correspondingly, READONLY to READ_ONLY.
Diffstat (limited to 'notmuch-new.c')
-rw-r--r--notmuch-new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-new.c b/notmuch-new.c
index f241edf9..bc35b4e8 100644
--- a/notmuch-new.c
+++ b/notmuch-new.c
@@ -414,7 +414,7 @@ notmuch_new_command (void *ctx,
add_files_state.total_files = count;
} else {
notmuch = notmuch_database_open (db_path,
- NOTMUCH_DATABASE_MODE_READONLY);
+ NOTMUCH_DATABASE_MODE_READ_ONLY);
add_files_state.ignore_read_only_directories = TRUE;
add_files_state.total_files = 0;
}