summaryrefslogtreecommitdiff
path: root/src/lib-config
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib-config')
-rw-r--r--src/lib-config/set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib-config/set.c b/src/lib-config/set.c
index f750c40a..f48aa3b9 100644
--- a/src/lib-config/set.c
+++ b/src/lib-config/set.c
@@ -75,7 +75,7 @@ void config_node_clear(CONFIG_REC *rec, CONFIG_NODE *node)
g_return_if_fail(is_node_list(node));
while (node->value != NULL)
- config_node_remove(rec, node, node->value);
+ config_node_remove(rec, node, ((GSList *) node->value)->data);
}
void config_nodes_remove_all(CONFIG_REC *rec)