diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-03 14:56:25 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-03 14:56:25 +0200 |
commit | 9d230c959d27729a8162c0be75747d626bc035ad (patch) | |
tree | 381c6def1da640da7d9cad9160af0693d1bf7b4a /src/p_lblock_next.c | |
parent | Normed p_lblock_next (diff) | |
download | 42-minishell-9d230c959d27729a8162c0be75747d626bc035ad.tar.gz 42-minishell-9d230c959d27729a8162c0be75747d626bc035ad.tar.bz2 42-minishell-9d230c959d27729a8162c0be75747d626bc035ad.tar.xz 42-minishell-9d230c959d27729a8162c0be75747d626bc035ad.tar.zst 42-minishell-9d230c959d27729a8162c0be75747d626bc035ad.zip |
Update
Diffstat (limited to 'src/p_lblock_next.c')
-rw-r--r-- | src/p_lblock_next.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_lblock_next.c b/src/p_lblock_next.c index 485d4ee..bfdca3d 100644 --- a/src/p_lblock_next.c +++ b/src/p_lblock_next.c @@ -75,7 +75,7 @@ static void p_add_to_env_fork(int64_t i, char *words[], t_msh *msh) int64_t j; j = 0; - while(j < i) + while (j < i) { ft_strlcpy(msh->env_fork_tmp[j], words[j], ft_strlen(words[j]) + 1); j++; |