[PATCH 2/2] cli/config: rename name to key in _config_set_list
Jani Nikula
jani at nikula.org
Sat Dec 17 08:20:27 PST 2016
The other getters and setters speak of key, follow suit. No functional
changes.
---
notmuch-config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/notmuch-config.c b/notmuch-config.c
index 6d50be4c3150..b202bb1e2299 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);
--
2.10.2
More information about the notmuch
mailing list