summaryrefslogtreecommitdiffstats
path: root/src/ft_s_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 19:21:23 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 19:21:23 +0200
commit0daacec366aab889b2b24d7fc6edebe1370d7e28 (patch)
treeb16cf4d5c03751838896acee6c2d6129f3372b3b /src/ft_s_init.c
parentContinuing (diff)
download42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.gz
42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.bz2
42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.xz
42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.zst
42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.zip
Linked list not working but ok
Diffstat (limited to 'src/ft_s_init.c')
-rw-r--r--src/ft_s_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_s_init.c b/src/ft_s_init.c
index c9e4845..c6f22ba 100644
--- a/src/ft_s_init.c
+++ b/src/ft_s_init.c
@@ -32,7 +32,7 @@ t_msh
ft_strlcpy(msh->ps_one, FT_PS_ONE, ft_strlen(FT_PS_ONE) + 1);
msh->envp = envp;
msh->ret = 0;
- ft_m_funptr(msh);
+ ft_init_buptr(msh);
msh->lcom = NULL;
msh->lcom_head = msh->lcom;
return (msh);