diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-12 20:43:30 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-12 20:43:30 +0200 |
commit | ff116f01c3680d0e5d8c32dd9978ed05a37f800c (patch) | |
tree | 73765e5ac7ea4ec8af461f44f6d8288fdad6fd82 /src/m_loop.c | |
parent | Lots of stuff to do (diff) | |
download | 42-minishell-ff116f01c3680d0e5d8c32dd9978ed05a37f800c.tar.gz 42-minishell-ff116f01c3680d0e5d8c32dd9978ed05a37f800c.tar.bz2 42-minishell-ff116f01c3680d0e5d8c32dd9978ed05a37f800c.tar.xz 42-minishell-ff116f01c3680d0e5d8c32dd9978ed05a37f800c.tar.zst 42-minishell-ff116f01c3680d0e5d8c32dd9978ed05a37f800c.zip |
FeelsCleanMan
Diffstat (limited to '')
-rw-r--r-- | src/m_loop.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/m_loop.c b/src/m_loop.c index 143c25d..4d942b2 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -15,10 +15,10 @@ #include <stdlib.h> #include <unistd.h> -#include "e_lcom.h" +#include "e_line.h" #include "m_prompt.h" #include "p_line.h" -#include "s_lcom.h" +#include "s_line.h" static char @@ -77,8 +77,8 @@ void p_line(fin, msh); ft_memdel((void*)&prog); ft_memdel((void*)&fin); - e_lcom(msh); - lcom_clear(&msh->curr); + e_line(msh); + s_line_clear(&msh->curr); } uint8_t @@ -102,8 +102,8 @@ uint8_t { p_line(line, msh); ft_memdel((void*)&line); - e_lcom(msh); - lcom_clear(&msh->curr); + e_line(msh); + s_line_clear(&msh->curr); } else { |