summaryrefslogtreecommitdiffstats
path: root/src/s_lpipes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/s_lpipes.c')
-rw-r--r--src/s_lpipes.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/s_lpipes.c b/src/s_lpipes.c
index f6a6845..0c1a6ea 100644
--- a/src/s_lpipes.c
+++ b/src/s_lpipes.c
@@ -79,9 +79,7 @@ struct s_lpipes
}
struct s_lpipes
- *s_split_pipes(const char word[],
- t_line *line,
- t_msh *msh)
+ *s_split_pipes(const char word[], t_msh *msh)
{
struct s_lpipes *lpipes;
char **words;
@@ -96,7 +94,7 @@ struct s_lpipes
{
return (NULL);
}
- s_lpipes_add_back(&line->pipes, lpipes);
+ s_lpipes_add_back(&msh->pipes, lpipes);
i++;
}
ft_delwords(words);