From 5c08ce82d29f8484ea477f8bb709ac358789c9bb Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 6 Sep 2020 18:46:43 +0200 Subject: Commit from minishell --- src/p_args.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/p_args.c') diff --git a/src/p_args.c b/src/p_args.c index 79f66bd..ae92523 100644 --- a/src/p_args.c +++ b/src/p_args.c @@ -24,18 +24,18 @@ /* TODO: DELETE THIS */ /* ================= */ -static void -p_print(char *words[]) -{ - char **ptr; - - ptr = words; - while (*ptr != NULL) - { - ft_printf("[%s]\n", *ptr); - ptr++; - } -} +/* static void */ +/* p_print(char *words[]) */ +/* { */ +/* char **ptr; */ + +/* ptr = words; */ +/* while (*ptr != NULL) */ +/* { */ +/* ft_printf("[%s]\n", *ptr); */ +/* ptr++; */ +/* } */ +/* } */ /* ================== */ /* TODO: DELETE ABOVE */ @@ -166,8 +166,8 @@ static char return (NULL); } p_args_escape_chars_and_quotes(words); - p_print(words); - exit(0); + /* p_print(words); */ + /* exit(0); */ return (words); } -- cgit v1.2.3