summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 19:16:42 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 19:16:42 +0200
commitf97eb31fa1099ab036fb880cb87df1c46c87d84a (patch)
treeeb4333af5ba4e2f8d713ce1acc8b2000799a7de4 /src/m_loop.c
parentNormed m_loop (diff)
download42-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
Diffstat (limited to '')
-rw-r--r--src/m_loop.c4
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 ;