cli/config: rename name to key in _config_set_list

The other getters and setters speak of key, follow suit. No functional
changes.
This commit is contained in:
Jani Nikula 2016-12-17 18:20:27 +02:00 committed by David Bremner
parent 08b6fd75ab
commit 0df6e5c387

View file

@ -631,11 +631,11 @@ _config_get_list (notmuch_config_t *config,
static void static void
_config_set_list (notmuch_config_t *config, _config_set_list (notmuch_config_t *config,
const char *group, const char *name, const char *group, const char *key,
const char *list[], const char *list[],
size_t length, const char ***config_var ) 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 */ /* drop the cached value */
talloc_free (*config_var); talloc_free (*config_var);