From ac0559db82bfef3b7ca3d976b1d7700ed2c1c1fc Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 31 Jan 2020 10:44:30 +0100 Subject: hash table unit testing, norming --- src/ht/ft_inter_htkey_equal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ht/ft_inter_htkey_equal.c') 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 +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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); } -- cgit