summaryrefslogtreecommitdiffstats
path: root/src/s_init_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-28 01:26:44 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-28 01:26:44 +0100
commitf6faf88cd0991be3184af67d5fa271b12f70e925 (patch)
tree02c283541fd2c0b4ccacd31172cccf2ba9711c51 /src/s_init_next.c
parentNorming in progress (diff)
download42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.gz
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.bz2
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.xz
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.tar.zst
42-minishell-f6faf88cd0991be3184af67d5fa271b12f70e925.zip
Norming
Diffstat (limited to 'src/s_init_next.c')
-rw-r--r--src/s_init_next.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s_init_next.c b/src/s_init_next.c
index 000ba0a..4521ce1 100644
--- a/src/s_init_next.c
+++ b/src/s_init_next.c
@@ -32,7 +32,7 @@ void s_inc_shlvl(t_msh *msh)
char fmt[8];
char tmp[255];
char str[255];
- int shlvl;
+ int shlvl;
u_get_var_value(tmp, "$SHLVL", 255, msh);
if (tmp[0] == C_NUL)
@@ -66,7 +66,7 @@ char **s_dupenv_del(char **nenvp, unsigned long i)
char **s_dupenv(char *const envp[])
{
unsigned long i;
- char **nenvp;
+ char **nenvp;
i = 0;
while (envp[i] != NULL)