diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-12-18 16:00:22 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-12-18 16:00:22 +0100 |
commit | 62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69 (patch) | |
tree | f2e879822c0043495152b4c597d7234e29bfe063 /src/m_loop.c | |
parent | spammingnormcommits (diff) | |
download | 42-minishell-62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69.tar.gz 42-minishell-62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69.tar.bz2 42-minishell-62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69.tar.xz 42-minishell-62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69.tar.zst 42-minishell-62a1c19e2095a8dd0fb66f4e29dce37eae0c5d69.zip |
Pushgnu-compat
Diffstat (limited to 'src/m_loop.c')
-rw-r--r-- | src/m_loop.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/m_loop.c b/src/m_loop.c index e493c7d..6ec2a3b 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -142,8 +142,6 @@ 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); while (gnl > 0) { gnl = (fd == STDIN_FILENO) ? c_gnl(fd, &line, 1, msh) : |