summaryrefslogtreecommitdiffstats
path: root/src/ft_s_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 18:52:20 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 18:52:20 +0200
commitf9869d5fdf97b932977f70eac1bc085be6761ee3 (patch)
tree571dbeeaddf5b508b31a1afff972b14f32618e5a /src/ft_s_init.c
parentTrying linked lists (diff)
download42-minishell-f9869d5fdf97b932977f70eac1bc085be6761ee3.tar.gz
42-minishell-f9869d5fdf97b932977f70eac1bc085be6761ee3.tar.bz2
42-minishell-f9869d5fdf97b932977f70eac1bc085be6761ee3.tar.xz
42-minishell-f9869d5fdf97b932977f70eac1bc085be6761ee3.tar.zst
42-minishell-f9869d5fdf97b932977f70eac1bc085be6761ee3.zip
Continuing
Diffstat (limited to 'src/ft_s_init.c')
-rw-r--r--src/ft_s_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_s_init.c b/src/ft_s_init.c
index 2d55e88..c9e4845 100644
--- a/src/ft_s_init.c
+++ b/src/ft_s_init.c
@@ -34,5 +34,6 @@ t_msh
msh->ret = 0;
ft_m_funptr(msh);
msh->lcom = NULL;
+ msh->lcom_head = msh->lcom;
return (msh);
}