diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-08 19:32:40 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-08 19:32:40 +0200 |
commit | d742075e1af0c063ef9677f157263c0d45253f73 (patch) | |
tree | 656be50d447b90308647a253e3ba6ba75a751b13 /src/s_lpipes.c | |
parent | Update (diff) | |
download | 42-minishell-d742075e1af0c063ef9677f157263c0d45253f73.tar.gz 42-minishell-d742075e1af0c063ef9677f157263c0d45253f73.tar.bz2 42-minishell-d742075e1af0c063ef9677f157263c0d45253f73.tar.xz 42-minishell-d742075e1af0c063ef9677f157263c0d45253f73.tar.zst 42-minishell-d742075e1af0c063ef9677f157263c0d45253f73.zip |
Rework in progress
Diffstat (limited to '')
-rw-r--r-- | src/s_lpipes.c | 6 |
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); |