diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/m_loop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/m_loop.c b/src/m_loop.c index 9ecea98..b3c06d0 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -39,11 +39,10 @@ static void ptr = msh->curr; while (ptr != NULL) { - ft_printf("[%s]\n", ptr->lblock); if ((previf == 0) || (previf == 1 && msh->ret == 0) || (previf == 2 && msh->ret != 0)) { - if ((msh->com = s_com_new(msh->curr->lblock, msh)) == NULL) + if ((msh->com = s_com_new(ptr->lblock, msh)) == NULL) break ; e_line(msh); } |