summaryrefslogtreecommitdiffstats
path: root/src/ft_e_externs_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-25 16:40:34 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-25 16:40:34 +0200
commite42601eb5acc07417b217dfed4e9ab8cbb91794f (patch)
tree76e7dacd2e8d93012fecf2c29fcb4d14e6d1baed /src/ft_e_externs_next.c
parent(fd)>qwe fd agregation redir works (diff)
download42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.gz
42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.bz2
42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.xz
42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.tar.zst
42-minishell-e42601eb5acc07417b217dfed4e9ab8cbb91794f.zip
Stupid bash rule
Diffstat (limited to '')
-rw-r--r--src/ft_e_externs_next.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_e_externs_next.c b/src/ft_e_externs_next.c
index bf1bb38..ab5f150 100644
--- a/src/ft_e_externs_next.c
+++ b/src/ft_e_externs_next.c
@@ -33,7 +33,7 @@ static char
{
ft_lcom_clear(&msh->curr);
ft_s_destroy(msh);
- ft_fail_alloc();
+ ft_fail_alloc(msh);
}
ft_memcpy(fullpath, p_path, path_len);
*(fullpath + (path_len)) = '/';
@@ -98,7 +98,7 @@ char
{
ft_lcom_clear(&msh->curr);
ft_s_destroy(msh);
- ft_fail_alloc();
+ ft_fail_alloc(msh);
}
return (envpath);
}