aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/utils.c b/src/utils.c
index 2b655bf..815e8e3 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -19,14 +19,15 @@
/**
** \brief Delete function for a entry containing a allocated key and value
-** \param content Hash table entry content
+** \param entry Hash table entry
+**
*/
-void ms_ht_del_str_entry(t_ftht_content *content)
+void ms_ht_del_str_entry(t_ftht_entry *entry)
{
- if (content == NULL)
+ if (entry == NULL)
return ;
- free(content->key);
- free(content->value);
- free(content);
+ free(entry->key);
+ free(entry->value);
+ free(entry);
}