diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 17:31:32 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 17:31:32 +0200 |
commit | c85c10c0308c565ed0e1c6320a81551f1777b56d (patch) | |
tree | 8f4fbed31da06f4f0716cd37d1b4cfaa43f55685 /src/ft_s_init.c | |
parent | Nice prompt (diff) | |
download | 42-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 'src/ft_s_init.c')
-rw-r--r-- | src/ft_s_init.c | 2 |
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); } |