summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-06 22:16:20 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-06 22:16:20 +0200
commitd5cd448de1e1c9ced57cfbf8f241ab5b68c855b3 (patch)
tree7da6ae95e93e1c98159a9a4ad5beff5bc6121277 /src
parentImprovement (diff)
download42-minishell-d5cd448de1e1c9ced57cfbf8f241ab5b68c855b3.tar.gz
42-minishell-d5cd448de1e1c9ced57cfbf8f241ab5b68c855b3.tar.bz2
42-minishell-d5cd448de1e1c9ced57cfbf8f241ab5b68c855b3.tar.xz
42-minishell-d5cd448de1e1c9ced57cfbf8f241ab5b68c855b3.tar.zst
42-minishell-d5cd448de1e1c9ced57cfbf8f241ab5b68c855b3.zip
qweqwe
Diffstat (limited to 'src')
-rw-r--r--src/p_args.c1
-rw-r--r--src/p_lcom_next.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/p_args.c b/src/p_args.c
index b449ba3..383700f 100644
--- a/src/p_args.c
+++ b/src/p_args.c
@@ -168,7 +168,6 @@ char
while (redir > 0 && ft_isdigit(word[i]) == TRUE)
i--;
word[i] = C_NUL;
- ft_printf("[%s]\n", word);
if ((words = p_split_words_no_rdr(word)) == NULL)
return (NULL);
return (words);
diff --git a/src/p_lcom_next.c b/src/p_lcom_next.c
index 2f675f3..dc834a8 100644
--- a/src/p_lcom_next.c
+++ b/src/p_lcom_next.c
@@ -45,7 +45,6 @@ static char
word = ft_nrealloc(word, i, i + ft_strlen(varval) + ft_strlen(tmp) + 1);
ft_strlcpy(word + i, varval, ft_strlen(varval) + 1);
ft_strlcpy(word + (i + ft_strlen(varval)), tmp, ft_strlen(tmp) + 1);
- ft_printf("[%s]\n", word);
*(p) = word + (i + ft_strlen(varval) - 1);
return (word);
}