diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-05-07 14:33:49 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-05-07 14:33:49 +0200 |
commit | d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898 (patch) | |
tree | ee428a2eb811bef0f749ba7f7c5adebd43c47e06 /src/ft_m_loop.c | |
parent | Still pipin' (diff) | |
download | 42-minishell-d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898.tar.gz 42-minishell-d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898.tar.bz2 42-minishell-d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898.tar.xz 42-minishell-d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898.tar.zst 42-minishell-d324d8b4fbdd9ca4e5426f34ea0f97d60b92e898.zip |
UFS reinstall, will finish pipes later
Diffstat (limited to '')
-rw-r--r-- | src/ft_m_loop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ft_m_loop.c b/src/ft_m_loop.c index e44c85c..3f40fba 100644 --- a/src/ft_m_loop.c +++ b/src/ft_m_loop.c @@ -102,10 +102,10 @@ uint8_t { ft_p_line(line, msh); ft_memdel((void*)&line); - ft_e_lcom(msh); - ft_lcom_clear(&msh->curr); - } - else + ft_e_lcom(msh); + ft_lcom_clear(&msh->curr); + } + else { ft_m_loop_cont(msh, line, quote, 1); if (line != NULL) |