summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/m_loop.c12
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
{