summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-21 23:24:14 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-21 23:24:14 +0200
commit7c645ea2acd3adad071692e72e455f589a8a9d91 (patch)
treebf2bf168d840ab8d012ba377550645ed60d934a1 /src/m_loop.c
parentTODO update (diff)
download42-minishell-7c645ea2acd3adad071692e72e455f589a8a9d91.tar.gz
42-minishell-7c645ea2acd3adad071692e72e455f589a8a9d91.tar.bz2
42-minishell-7c645ea2acd3adad071692e72e455f589a8a9d91.tar.xz
42-minishell-7c645ea2acd3adad071692e72e455f589a8a9d91.tar.zst
42-minishell-7c645ea2acd3adad071692e72e455f589a8a9d91.zip
In progress
Diffstat (limited to '')
-rw-r--r--src/m_loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index b111577..eea9150 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -43,6 +43,7 @@ static void m_parse_and_run_line(char line[], t_msh *msh)
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))
{