summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-10-01 16:24:51 +0200
committersalad <fmoenne-@student.le-101.fr>2020-10-01 16:24:51 +0200
commit730d58157c26bd551bcd0c06047a95f4f9e3d358 (patch)
treed52f5b030dd1b3dff02cce60b3e7eded02407daf /src/m_loop.c
parentcall a plumber (diff)
download42-minishell-730d58157c26bd551bcd0c06047a95f4f9e3d358.tar.gz
42-minishell-730d58157c26bd551bcd0c06047a95f4f9e3d358.tar.bz2
42-minishell-730d58157c26bd551bcd0c06047a95f4f9e3d358.tar.xz
42-minishell-730d58157c26bd551bcd0c06047a95f4f9e3d358.tar.zst
42-minishell-730d58157c26bd551bcd0c06047a95f4f9e3d358.zip
lessgo
Diffstat (limited to '')
-rw-r--r--src/m_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index d4bc665..f1fc80d 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -44,7 +44,7 @@ uint8_t
/* if (fd == STDIN_FILENO) */
/* m_prompt_psx(1, msh); */
/* gnl = get_next_line(fd, &line); */
- gnl = c_init_tcaps(&line, msh);
+ gnl = c_init_tcaps(fd, &line, msh);
if (line[0] != '\0')
{
line = m_check_multi_backslash(fd, line, msh);