This commit is contained in:
Camille Chauvet 2022-10-28 19:23:50 +02:00
parent 83d25dbefd
commit 3626bdb901

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/05 19:04:34 by cchauvet #+# #+# */
/* Updated: 2022/10/28 18:28:41 by cchauvet ### ########.fr */
/* Updated: 2022/10/28 19:23:45 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
@ -66,7 +66,6 @@ static char **ft_segsplitter(char **tab, size_t len, const char *s, char c)
start = let_index;
while (s[let_index] != c && s[let_index] != 0)
let_index++;
tab[tab_index] = ft_substr(s, start, let_index - start);
if (tab[tab_index] == NULL)
return (ft_cancel(tab, tab_index));