From 3349e8a37a9fdf78b82d6df1d310e39c78fcebb2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 20 Apr 2020 18:46:17 +0200 Subject: Trying linked lists --- src/minishell.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/minishell.c') 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); } -- cgit v1.2.3