1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Merge pull request #241 from pstray/master

Change a hash lookup so it compiles
This commit is contained in:
Alexander Færøy 2015-04-21 00:17:40 +02:00
commit c122a2a226

View File

@ -68,7 +68,7 @@ CONFIG_NODE *config_node_section_index(CONFIG_REC *rec, CONFIG_NODE *parent, con
config_node_remove(rec, parent, node); config_node_remove(rec, parent, node);
node = NULL; node = NULL;
show_error = 1; show_error = 1;
} else if (!g_hash_table_contains(rec->cache_nodes, node)) { } else if (!g_hash_table_lookup_extended(rec->cache_nodes, node, NULL, NULL)) {
g_hash_table_insert(rec->cache_nodes, node, NULL); g_hash_table_insert(rec->cache_nodes, node, NULL);
show_error = 1; show_error = 1;
} }