diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-06 18:46:43 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-06 18:46:43 +0200 |
commit | 5c08ce82d29f8484ea477f8bb709ac358789c9bb (patch) | |
tree | 8e1beb47dc96febb873dd20033e1743479ba3108 /src/p_args.c | |
parent | Update (diff) | |
download | 42-minishell-5c08ce82d29f8484ea477f8bb709ac358789c9bb.tar.gz 42-minishell-5c08ce82d29f8484ea477f8bb709ac358789c9bb.tar.bz2 42-minishell-5c08ce82d29f8484ea477f8bb709ac358789c9bb.tar.xz 42-minishell-5c08ce82d29f8484ea477f8bb709ac358789c9bb.tar.zst 42-minishell-5c08ce82d29f8484ea477f8bb709ac358789c9bb.zip |
Commit from minishell
Diffstat (limited to 'src/p_args.c')
-rw-r--r-- | src/p_args.c | 28 |
1 files changed, 14 insertions, 14 deletions
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); } |