summaryrefslogtreecommitdiffstats
path: root/src/ft_s_lpipes.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_s_lpipes.c10
1 files changed, 5 insertions, 5 deletions
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);