fix: quote remover

This commit is contained in:
Camille Chauvet
2023-02-17 18:28:06 +01:00
parent e709eb0dbb
commit 922db1e08f
3 changed files with 2 additions and 157 deletions

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/15 14:12:00 by cchauvet #+# #+# */
/* Updated: 2023/02/16 13:20:50 by cchauvet ### ########.fr */
/* Updated: 2023/02/17 18:27:28 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
@ -36,7 +36,7 @@ char *ft_quote_remover(char *str)
}
if (start != -1)
{
ft_strshift(str, -1);
ft_strshift(str + start, -1);
ft_strshift(str + stop - 1, -1);
}
return (str);