aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-04-07 11:22:21 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-04-07 11:22:21 +0200
commit36fa9bd3e3b918b282421b38735b4d1c024d799a (patch)
treed14670e110eeac1e15d266b3f2524b41fd1aaaea
parentf8de26f98e3c38d3deacb674e533c588e6b48548 (diff)
Renamed irc_free_userhash().
-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) {