summaryrefslogtreecommitdiffstats
path: root/src/m_comm.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-12 20:43:30 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-12 20:43:30 +0200
commitff116f01c3680d0e5d8c32dd9978ed05a37f800c (patch)
tree73765e5ac7ea4ec8af461f44f6d8288fdad6fd82 /src/m_comm.c
parentLots of stuff to do (diff)
download42-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 'src/m_comm.c')
-rw-r--r--src/m_comm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/m_comm.c b/src/m_comm.c
index 66e0ac2..30f609d 100644
--- a/src/m_comm.c
+++ b/src/m_comm.c
@@ -14,10 +14,10 @@
#include <stdint.h>
#include "d_enum.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"
uint8_t
m_comm(const char line[],
@@ -26,8 +26,8 @@ uint8_t
if (line[0] != '\0')
{
p_line((char*)line, msh);
- e_lcom(msh);
- lcom_clear(&msh->curr);
+ e_line(msh);
+ s_line_clear(&msh->curr);
}
else
{