summaryrefslogtreecommitdiffstats
path: root/notmuch-config.c
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2016-12-17 18:20:27 +0200
committerDavid Bremner <david@tethera.net>2017-01-07 08:24:28 -0400
commit0df6e5c38789f0c650db8663c878883e255be46c (patch)
treeaebc3abcae802986fdf5e421339d4708524e48f3 /notmuch-config.c
parent08b6fd75ab5691e31bc9c3fbcbdfc719f9b5fe62 (diff)
cli/config: rename name to key in _config_set_list
The other getters and setters speak of key, follow suit. No functional changes.
Diffstat (limited to 'notmuch-config.c')
-rw-r--r--notmuch-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch-config.c b/notmuch-config.c
index 6d50be4c..b202bb1e 100644
--- a/notmuch-config.c
+++ b/notmuch-config.c
@@ -631,11 +631,11 @@ _config_get_list (notmuch_config_t *config,
static void
_config_set_list (notmuch_config_t *config,
- const char *group, const char *name,
+ const char *group, const char *key,
const char *list[],
size_t length, const char ***config_var )
{
- g_key_file_set_string_list (config->key_file, group, name, list, length);
+ g_key_file_set_string_list (config->key_file, group, key, list, length);
/* drop the cached value */
talloc_free (*config_var);