Correction norme

This commit is contained in:
Etienne Rey-bethbeder 2023-03-20 10:00:12 +01:00
parent 2e90554ff2
commit 676173a098
2 changed files with 6 additions and 6 deletions

View file

@ -5,13 +5,13 @@
/* +:+ +:+ +:+ */
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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"

View file

@ -6,7 +6,7 @@
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 ;