diff options
author | Timo Sirainen <cras@irssi.org> | 2000-09-06 21:02:32 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-09-06 21:02:32 +0000 |
commit | 008ec45db2af71143951785285d7127ccf94f241 (patch) | |
tree | 9975416393875a3a14d13d5e34bdfc2e67adf9f9 /src/lib-config | |
parent | 5b92180b13a2b7695acc410b08a37150d413e851 (diff) | |
download | irssi-008ec45db2af71143951785285d7127ccf94f241.zip |
config_node_clear() didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@648 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/lib-config')
-rw-r--r-- | src/lib-config/set.c | 2 |
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) |