summaryrefslogtreecommitdiffstats
path: root/src/e_pipes.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-08 19:32:40 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-08 19:32:40 +0200
commitd742075e1af0c063ef9677f157263c0d45253f73 (patch)
tree656be50d447b90308647a253e3ba6ba75a751b13 /src/e_pipes.c
parentUpdate (diff)
download42-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 'src/e_pipes.c')
-rw-r--r--src/e_pipes.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/e_pipes.c b/src/e_pipes.c
index 6fdc149..a1807d1 100644
--- a/src/e_pipes.c
+++ b/src/e_pipes.c
@@ -35,14 +35,13 @@
/* } */
void
- e_pipes(t_line *ptr,
- t_msh *msh)
+ e_pipes(t_msh *msh)
{
/* uint8_t bu_id; */
/* if ((bu_id = get_builtin_id(ptr->pipes->one->com, msh)) */
/* < FT_BUILTINS_COUNT) */
/* e_builtin(ptr->pipes->one, bu_id, msh); */
- e_externs_pipes(ptr->pipes, msh);
- s_lpipes_clear(&ptr->pipes);
+ e_externs_pipes(msh->pipes, msh);
+ s_lpipes_clear(&msh->pipes);
}