diff options
| author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-05-07 14:33:49 +0200 | 
|---|---|---|
| committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-05-07 14:33:49 +0200 | 
| commit | d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898 (patch) | |
| tree | ee428a2eb811bef0f749ba7f7c5adebd43c47e06 /src/ft_p_lcom.c | |
| parent | Still pipin' (diff) | |
| download | 42-minishell-d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898.tar.gz 42-minishell-d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898.tar.bz2 42-minishell-d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898.tar.xz 42-minishell-d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898.tar.zst 42-minishell-d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898.zip | |
UFS reinstall, will finish pipes later
Diffstat (limited to '')
| -rw-r--r-- | src/ft_p_lcom.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/src/ft_p_lcom.c b/src/ft_p_lcom.c index 823db3b..a8449ae 100644 --- a/src/ft_p_lcom.c +++ b/src/ft_p_lcom.c @@ -130,7 +130,6 @@ int8_t  	/* TODO: norme */  	uint64_t		i;  	t_lcom			*link; -	struct s_lpipes	*lpipes;  	char			**words;  	t_bool			next; @@ -145,11 +144,11 @@ int8_t  		{  			if (!(link = ft_lcom_new(NULL, msh)))  				return (-1); -			if (!(lpipes = ft_split_pipes(words[i], link, msh))) +			if (!(ft_split_pipes(words[i], link, msh)))  				return (-1);  			next = TRUE;  		} -		if (next == FALSE && !(link = ft_lcom_new(words[i], NULL, msh))) +		if (next == FALSE && !(link = ft_lcom_new(words[i], msh)))  			return (-1);  		ft_lcom_add_back(&msh->curr, link);  		i++; | 
