diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-04-07 11:22:21 +0200 |
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-04-07 11:22:21 +0200 |
| commit | 36fa9bd3e3b918b282421b38735b4d1c024d799a (patch) | |
| tree | d14670e110eeac1e15d266b3f2524b41fd1aaaea | |
| parent | f8de26f98e3c38d3deacb674e533c588e6b48548 (diff) | |
Renamed irc_free_userhash().
| -rw-r--r-- | irc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |
