diff options
author | joe <rbousset@42lyon.fr> | 2020-12-01 18:36:35 +0100 |
---|---|---|
committer | joe <rbousset@42lyon.fr> | 2020-12-01 18:36:35 +0100 |
commit | 4f3d3364de8f1c23819051cb9f392fc651565b95 (patch) | |
tree | d7574f821dc02a27dcc5a0b8b63cf40e60dd023e /src/m_loop.c | |
parent | Bav (diff) | |
download | 42-minishell-4f3d3364de8f1c23819051cb9f392fc651565b95.tar.gz 42-minishell-4f3d3364de8f1c23819051cb9f392fc651565b95.tar.bz2 42-minishell-4f3d3364de8f1c23819051cb9f392fc651565b95.tar.xz 42-minishell-4f3d3364de8f1c23819051cb9f392fc651565b95.tar.zst 42-minishell-4f3d3364de8f1c23819051cb9f392fc651565b95.zip |
commit
Diffstat (limited to '')
-rw-r--r-- | src/m_loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/m_loop.c b/src/m_loop.c index 6444c1b..a5e816d 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -152,6 +152,7 @@ unsigned char m_loop(int fd, t_msh *msh) if (fd == STDIN_FILENO) m_handle_hist(hist, line, msh); m_parse_and_run_line(line, 0, msh); + c_set_ptr(TRUE, 0, msh); } else ft_memdel((void*)&line); |