summaryrefslogtreecommitdiffstats
path: root/src/ft_s_init.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 17:31:32 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-20 17:31:32 +0200
commitc85c10c0308c565ed0e1c6320a81551f1777b56d (patch)
tree8f4fbed31da06f4f0716cd37d1b4cfaa43f55685 /src/ft_s_init.c
parentNice prompt (diff)
download42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.gz
42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.bz2
42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.xz
42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.zst
42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.zip
Cool funptr
Diffstat (limited to '')
-rw-r--r--src/ft_s_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_s_init.c b/src/ft_s_init.c
index c4b2667..2d55e88 100644
--- a/src/ft_s_init.c
+++ b/src/ft_s_init.c
@@ -12,6 +12,7 @@
#include <libft.h>
#include "ft_d_define.h"
+#include "ft_m_funptr.h"
#include "ft_s_init.h"
t_msh
@@ -31,6 +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);
msh->lcom = NULL;
return (msh);
}