From dd104edda401295cc1a7415126cb2a77f270877e Mon Sep 17 00:00:00 2001 From: Jack Halford Date: Fri, 17 Feb 2017 17:11:56 +0100 Subject: [PATCH] strcspn called strchr not ft_strchr --- libft/src/str/ft_strcspn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libft/src/str/ft_strcspn.c b/libft/src/str/ft_strcspn.c index 4abf1b2d..fe535487 100644 --- a/libft/src/str/ft_strcspn.c +++ b/libft/src/str/ft_strcspn.c @@ -6,7 +6,7 @@ size_t ft_strcspn(char *s, const char *delim) str = s; while(*str) - if(strchr(delim,*str)) + if(ft_strchr(delim,*str)) return (str - s); else str++;