mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
fix use of wrong "equal" function in meta hash tables
This commit is contained in:
parent
7452ec34ad
commit
554a8556d2
@ -369,7 +369,7 @@ void server_connect_init(SERVER_REC *server)
|
||||
server->type = module_get_uniq_id("SERVER", 0);
|
||||
server_ref(server);
|
||||
server->current_incoming_meta =
|
||||
g_hash_table_new_full(g_str_hash, (GEqualFunc) g_strcmp0,
|
||||
g_hash_table_new_full(g_str_hash, (GEqualFunc) g_str_equal,
|
||||
(GDestroyNotify) i_refstr_release, (GDestroyNotify) g_free);
|
||||
|
||||
server->nick = g_strdup(server->connrec->nick);
|
||||
|
@ -116,7 +116,7 @@ void textbuffer_meta_rec_free(TEXT_BUFFER_META_REC *rec)
|
||||
static void meta_hash_create(struct _TEXT_BUFFER_META_REC *meta)
|
||||
{
|
||||
if (meta->hash == NULL) {
|
||||
meta->hash = g_hash_table_new_full(g_str_hash, (GEqualFunc) g_strcmp0,
|
||||
meta->hash = g_hash_table_new_full(g_str_hash, (GEqualFunc) g_str_equal,
|
||||
(GDestroyNotify) i_refstr_release,
|
||||
(GDestroyNotify) g_free);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user