From 2e1f96a78b619dbad8750f650d463c69f16f5987 Mon Sep 17 00:00:00 2001 From: Jack Halford Date: Tue, 10 Jan 2017 12:34:08 +0100 Subject: [PATCH] lstfind more explicit NULL --- libft/src/lst/ft_lst_find.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libft/src/lst/ft_lst_find.c b/libft/src/lst/ft_lst_find.c index 1b63f088..3163d3af 100644 --- a/libft/src/lst/ft_lst_find.c +++ b/libft/src/lst/ft_lst_find.c @@ -6,7 +6,7 @@ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/11/04 11:09:20 by jhalford #+# #+# */ -/* Updated: 2016/12/12 12:54:45 by jhalford ### ########.fr */ +/* Updated: 2017/01/10 11:07:37 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ @@ -23,5 +23,5 @@ t_list *ft_lst_find(t_list *begin_list, void *data_ref, int (*cmp)()) return (list_ptr); list_ptr = list_ptr->next; } - return (list_ptr); + return (NULL); }