diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 18:46:17 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 18:46:17 +0200 |
commit | 3349e8a37a9fdf78b82d6df1d310e39c78fcebb2 (patch) | |
tree | 88ec7499dbdd45293ae63b5b353c849e50c166e8 /src/minishell.c | |
parent | Cool funptr (diff) | |
download | 42-minishell-3349e8a37a9fdf78b82d6df1d310e39c78fcebb2.tar.gz 42-minishell-3349e8a37a9fdf78b82d6df1d310e39c78fcebb2.tar.bz2 42-minishell-3349e8a37a9fdf78b82d6df1d310e39c78fcebb2.tar.xz 42-minishell-3349e8a37a9fdf78b82d6df1d310e39c78fcebb2.tar.zst 42-minishell-3349e8a37a9fdf78b82d6df1d310e39c78fcebb2.zip |
Trying linked lists
Diffstat (limited to 'src/minishell.c')
-rw-r--r-- | src/minishell.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/minishell.c b/src/minishell.c index a3b0354..4b8e763 100644 --- a/src/minishell.c +++ b/src/minishell.c @@ -20,9 +20,9 @@ #include "ft_s_destroy.h" int -main(int argc, - const char *argv[], - char *envp[]) + main(int argc, + const char *argv[], + char *envp[]) { t_msh *msh; int32_t ret; @@ -35,11 +35,6 @@ main(int argc, } msh->ret = ft_m_loop(msh); ret = msh->ret; - /* while (*msh->envp) */ - /* { */ - /* ft_printf("%s\n", *msh->envp); */ - /* msh->envp++; */ - /* } */ ft_s_destroy(msh); return (ret); } |