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++;