From d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 7 May 2020 14:33:49 +0200 Subject: UFS reinstall, will finish pipes later --- src/ft_s_lpipes.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ft_s_lpipes.c') diff --git a/src/ft_s_lpipes.c b/src/ft_s_lpipes.c index 0a637ce..dcdc2ec 100644 --- a/src/ft_s_lpipes.c +++ b/src/ft_s_lpipes.c @@ -30,7 +30,7 @@ void ft_lpipes_add_back(struct s_lpipes **alpipes, struct s_lpipes *new) { - t_lcom *tmp; + struct s_lpipes *tmp; if (!*alpipes) *alpipes = new; @@ -47,7 +47,7 @@ void struct s_lpipes *tmp; struct s_lpipes *renext; - if (!lcom) + if (!lpipes) return ; tmp = *lpipes; while (tmp) @@ -82,8 +82,8 @@ struct s_lpipes t_lcom *lcom, t_msh *msh) { - struct s_pipes *link; - struct s_pipes *lpipes; + struct s_lpipes *link; + struct s_lpipes *lpipes; char **words; size_t i; @@ -97,7 +97,7 @@ struct s_lpipes { return (NULL); } - ft_lpipes_add_back(); + ft_lpipes_add_back(&lcom->pipes, lpipes); i++; } ft_delwords(words); -- cgit v1.2.3