From 676173a0985f2b822e641a2773dea058efe6d396 Mon Sep 17 00:00:00 2001 From: Etienne Rey-bethbeder Date: Mon, 20 Mar 2023 10:00:12 +0100 Subject: [PATCH] Correction norme --- bonus/pipex_bonus.h | 8 ++++---- bonus/pipex_heredoc_bonus.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bonus/pipex_bonus.h b/bonus/pipex_bonus.h index a4cd795..c642494 100644 --- a/bonus/pipex_bonus.h +++ b/bonus/pipex_bonus.h @@ -5,13 +5,13 @@ /* +:+ +:+ +:+ */ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ -/* Created: 2023/01/11 15:33:34 by erey-bet #+# #+# */ -/* Updated: 2023/03/20 09:51:26 by erey-bet ### ########.fr */ +/* Created: 2023/03/20 09:59:23 by erey-bet #+# #+# */ +/* Updated: 2023/03/20 09:59:42 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ -#ifndef PIPEX_H -# define PIPEX_H +#ifndef PIPEX_BONUS_H +# define PIPEX_BONUS_H # include "../libft/libft.h" # include "../get_next_line/get_next_line.h" diff --git a/bonus/pipex_heredoc_bonus.c b/bonus/pipex_heredoc_bonus.c index b0d70bb..c4493a8 100644 --- a/bonus/pipex_heredoc_bonus.c +++ b/bonus/pipex_heredoc_bonus.c @@ -6,7 +6,7 @@ /* By: erey-bet +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/02/14 11:22:13 by erey-bet #+# #+# */ -/* Updated: 2023/03/20 09:49:11 by erey-bet ### ########.fr */ +/* Updated: 2023/03/20 09:58:51 by erey-bet ### ########.fr */ /* */ /* ************************************************************************** */ @@ -58,7 +58,7 @@ int here_doc(int argc, char *argv[], char **env, t_data *data) { cur = get_next_line(0); if (!cur) - break; + break ; cur[ft_strlen(cur) - 1] = '\0'; if (ft_strcmp(cur, argv[2]) == 0) break ;