summaryrefslogtreecommitdiffstats
path: root/src/s_init_next.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-12-18 15:28:28 +0100
committersalad <fmoenne-@student.le-101.fr>2020-12-18 15:28:28 +0100
commit40676b37c8320ae708ec4303af0ea2a649ec74d7 (patch)
treee72bcb83ef67f138c2539e6bc8fade62276bbc3b /src/s_init_next.c
parentnomergethislol (diff)
download42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.gz
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.bz2
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.xz
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.tar.zst
42-minishell-40676b37c8320ae708ec4303af0ea2a649ec74d7.zip
spammingnormcommits
Diffstat (limited to '')
-rw-r--r--src/s_init_next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_init_next.c b/src/s_init_next.c
index d506d9d..9a98e9a 100644
--- a/src/s_init_next.c
+++ b/src/s_init_next.c
@@ -103,7 +103,7 @@ char **s_dupenv(char *const envp[])
i++;
}
if (s_cpy_path(ptr, nenvp, &i) == 1)
- return (s_dupenv_del(nenvp, i));
+ return (s_dupenv_del(nenvp, i));
nenvp[i] = NULL;
return (nenvp);
}