summaryrefslogtreecommitdiffstats
path: root/src/ft_e_pipes.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-05-11 16:53:04 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-05-11 16:53:04 +0200
commit0b7c8e6192771f10289c330ef26ace35050a614e (patch)
tree95c6fb403090a93a0fa55ec030b24af25858cbdc /src/ft_e_pipes.c
parentRemoved bloat (diff)
download42-minishell-0b7c8e6192771f10289c330ef26ace35050a614e.tar.gz
42-minishell-0b7c8e6192771f10289c330ef26ace35050a614e.tar.bz2
42-minishell-0b7c8e6192771f10289c330ef26ace35050a614e.tar.xz
42-minishell-0b7c8e6192771f10289c330ef26ace35050a614e.tar.zst
42-minishell-0b7c8e6192771f10289c330ef26ace35050a614e.zip
New files
Diffstat (limited to 'src/ft_e_pipes.c')
-rw-r--r--src/ft_e_pipes.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ft_e_pipes.c b/src/ft_e_pipes.c
index 2ac4bb6..581aec2 100644
--- a/src/ft_e_pipes.c
+++ b/src/ft_e_pipes.c
@@ -15,7 +15,7 @@
#include <unistd.h>
#include "ft_e_builtins.h"
-#include "ft_e_externs.h"
+#include "ft_e_externs_pipes.h"
#include "ft_s_lpipes.h"
#include "ft_s_struct.h"
@@ -39,12 +39,11 @@ void
t_msh *msh)
{
uint8_t bu_id;
- /* int32_t pipefd[2]; */
if ((bu_id = ft_get_builtin_id(ptr->pipes->one->com, msh))
< FT_BUILTINS_COUNT)
ft_e_builtin(ptr->pipes->one, bu_id, msh);
else
- ft_e_extern(ptr->pipes->one, msh);
+ ft_e_externs_pipes(ptr->pipes, msh);
ft_lpipes_clear(&ptr->pipes);
}