diff options
author | Alexander Færøy <ahf@0x90.dk> | 2015-04-21 00:17:40 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@0x90.dk> | 2015-04-21 00:17:40 +0200 |
commit | c122a2a226363114e11f32072395e2f06ad6a450 (patch) | |
tree | c979f4b2418537a07cc7aeb37d7d89cad3b875f3 | |
parent | 9540a60c5267055e1dfea0aca179da3172f70c69 (diff) | |
parent | 6b56f098e941563258a9a7fb207f1df6de7cbb11 (diff) | |
download | irssi-c122a2a226363114e11f32072395e2f06ad6a450.zip |
Merge pull request #241 from pstray/master
Change a hash lookup so it compiles
-rw-r--r-- | src/lib-config/get.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib-config/get.c b/src/lib-config/get.c index 53d744da..a83686fd 100644 --- a/src/lib-config/get.c +++ b/src/lib-config/get.c @@ -68,7 +68,7 @@ CONFIG_NODE *config_node_section_index(CONFIG_REC *rec, CONFIG_NODE *parent, con config_node_remove(rec, parent, node); node = NULL; 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); show_error = 1; } |