X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-config.c;h=b202bb1e229988f21b2807e49b0c62c60cf5991e;hp=6d50be4c31504b3660c46b42e58ca20e3bc08668;hb=ea20a932f1b8bc849db5ed35c1f355990f186146;hpb=08b6fd75ab5691e31bc9c3fbcbdfc719f9b5fe62 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);