]> git.notmuchmail.org Git - notmuch/commitdiff
cli/config: rename name to key in _config_set_list
authorJani Nikula <jani@nikula.org>
Sat, 17 Dec 2016 16:20:27 +0000 (18:20 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 7 Jan 2017 12:24:28 +0000 (08:24 -0400)
The other getters and setters speak of key, follow suit. No functional
changes.

notmuch-config.c

index 6d50be4c31504b3660c46b42e58ca20e3bc08668..b202bb1e229988f21b2807e49b0c62c60cf5991e 100644 (file)
@@ -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);