diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-01 19:16:42 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-01 19:16:42 +0200 |
commit | f97eb31fa1099ab036fb880cb87df1c46c87d84a (patch) | |
tree | eb4333af5ba4e2f8d713ce1acc8b2000799a7de4 | |
parent | Normed m_loop (diff) | |
download | 42-minishell-f97eb31fa1099ab036fb880cb87df1c46c87d84a.tar.gz 42-minishell-f97eb31fa1099ab036fb880cb87df1c46c87d84a.tar.bz2 42-minishell-f97eb31fa1099ab036fb880cb87df1c46c87d84a.tar.xz 42-minishell-f97eb31fa1099ab036fb880cb87df1c46c87d84a.tar.zst 42-minishell-f97eb31fa1099ab036fb880cb87df1c46c87d84a.zip |
Renormed m_loop
-rw-r--r-- | src/m_loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m_loop.c b/src/m_loop.c index 5509ccc..76ed6e0 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -39,8 +39,8 @@ static void m_parse_and_run_line(char line[], t_msh *msh) ptr = msh->curr; while (ptr != NULL) { - if ((previf == 0) || (previf == 1 && msh->ret == 0) || - (previf == 2 && msh->ret != 0)) + if ((previf == 0) || (previf == 1 && msh->ret == 0) + || (previf == 2 && msh->ret != 0)) { if ((msh->com = s_com_new(ptr->lblock, msh)) == NULL) break ; |