aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-04-08 16:10:29 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-04-08 16:10:29 +0200
commit11bcee97b781bac6e38db4e1630ac6934209e73b (patch)
treed1377a6ebef982752ce3e9afd3137b370d87d1c1 /irc.c
parentf8de26f98e3c38d3deacb674e533c588e6b48548 (diff)
parent9e08d5d5ba8958807158d7afaedd40e60cfb40ff (diff)
Misc. merges. (Main thing: "$blah is not in your list yet, would you like to add him?")
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/irc.c b/irc.c
index a8d317d0..60188c3b 100644
--- a/irc.c
+++ b/irc.c
@@ -198,7 +198,7 @@ void irc_abort( irc_t *irc, int immed, char *format, ... )
}
}
-static gboolean irc_free_userhash( gpointer key, gpointer value, gpointer data )
+static gboolean irc_free_hashkey( gpointer key, gpointer value, gpointer data )
{
g_free( key );
@@ -284,10 +284,10 @@ void irc_free(irc_t * irc)
}
}
- g_hash_table_foreach_remove(irc->userhash, irc_free_userhash, NULL);
+ g_hash_table_foreach_remove(irc->userhash, irc_free_hashkey, NULL);
g_hash_table_destroy(irc->userhash);
- g_hash_table_foreach_remove(irc->watches, irc_free_userhash, NULL);
+ g_hash_table_foreach_remove(irc->watches, irc_free_hashkey, NULL);
g_hash_table_destroy(irc->watches);
if (irc->nicks != NULL) {