diff options
author | joe <rbousset@42lyon.fr> | 2020-12-04 16:56:47 +0100 |
---|---|---|
committer | joe <rbousset@42lyon.fr> | 2020-12-04 16:56:47 +0100 |
commit | d9420a4ed5917bb14d6263e9b1283324b540099d (patch) | |
tree | 2350234371ee99ac7e3a6e081da7360c1ad8780f /src/m_loop.c | |
parent | No more step (diff) | |
download | 42-minishell-d9420a4ed5917bb14d6263e9b1283324b540099d.tar.gz 42-minishell-d9420a4ed5917bb14d6263e9b1283324b540099d.tar.bz2 42-minishell-d9420a4ed5917bb14d6263e9b1283324b540099d.tar.xz 42-minishell-d9420a4ed5917bb14d6263e9b1283324b540099d.tar.zst 42-minishell-d9420a4ed5917bb14d6263e9b1283324b540099d.zip |
in progress
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 b249935..c7ca9cc 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -142,6 +142,7 @@ unsigned char m_loop(int fd, t_msh *msh) gnl = 1; msh->curr_hist_ptr = hist; c_get_msh(1, msh); + c_set_ptr(TRUE, 0, msh); signal(SIGINT, c_signal_int); signal(SIGQUIT, c_signal_ign); while (gnl > 0) |