clean: norm

This commit is contained in:
Camille Chauvet 2023-03-31 15:25:26 +02:00
parent 8af6b42642
commit 68c945ae05

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */ /* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/17 15:36:26 by cchauvet #+# #+# */ /* Created: 2023/02/17 15:36:26 by cchauvet #+# #+# */
/* Updated: 2023/03/31 15:19:42 by alouis-j ### ########.fr */ /* Updated: 2023/03/31 15:25:13 by alouis-j ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -34,6 +34,7 @@ static int ft_format_and_write(t_data *data, const char *str, int fd)
static int ft_heredoc2(t_data *data, char *stop, int fds[2]) static int ft_heredoc2(t_data *data, char *stop, int fds[2])
{ {
char *line; char *line;
ft_printf("> "); ft_printf("> ");
line = get_next_line(*ft_get_heredoc()); line = get_next_line(*ft_get_heredoc());
if (line == NULL) if (line == NULL)