aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-restore.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-11-10 16:26:14 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-11-11 03:40:19 -0800
commit4cfb2a02778bac16e785bbea1fd6c665e34bd955 (patch)
treecdcdbe07c31858339ad4a4697444b2ab7cdb7d28 /notmuch-restore.c
parent0b6349d70557589563f6eb2a23c2a1fa1330e54a (diff)
Avoid abbreviation, preferring notmuch_config_get_maildir_synchronize_flags
Since the name of the configuration parameter here is: maildir.synchronize_flags the convention is that the functions to get and set this parameter should match it in name. Hence: notmuch_config_get_maildir_synchronize_flags etc. (as opposed to notmuch_config_get_maildir_sync).
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 b5c5c48d..98660b32 100644
--- a/notmuch-restore.c
+++ b/notmuch-restore.c
@@ -42,7 +42,7 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[])
return 1;
notmuch_database_set_maildir_sync (notmuch,
- notmuch_config_get_maildir_sync (config));
+ notmuch_config_get_maildir_synchronize_flags (config));
if (argc) {
input = fopen (argv[0], "r");
if (input == NULL) {