aboutsummaryrefslogtreecommitdiff
path: root/src/ht/ft_inter_htkey_equal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ht/ft_inter_htkey_equal.c')
-rw-r--r--src/ht/ft_inter_htkey_equal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ht/ft_inter_htkey_equal.c b/src/ht/ft_inter_htkey_equal.c
index b652bba..7714c84 100644
--- a/src/ht/ft_inter_htkey_equal.c
+++ b/src/ht/ft_inter_htkey_equal.c
@@ -6,15 +6,16 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/30 09:24:39 by cacharle #+# #+# */
-/* Updated: 2020/01/30 09:25:36 by cacharle ### ########.fr */
+/* Updated: 2020/01/31 09:51:03 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
+#include "libft_ht.h"
t_ftbool ft_inter_htkey_equal(char *ref_key, t_ftht_content *content)
{
if (ref_key == NULL || content == NULL)
return (FALSE);
- return (ft_strcmp(ref_key, content->key) == 0)
+ return (ft_strcmp(ref_key, content->key) == 0);
}