diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-05 16:11:54 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-05 16:11:54 +0200 |
commit | ffd4838e8fbaafa80945bcbd74c0dea3ae53105b (patch) | |
tree | f2e35e4a7a6c219d584ed54b2d0580a9e3f7c934 /src/m_loop.c | |
parent | TODO update (diff) | |
download | 42-minishell-ffd4838e8fbaafa80945bcbd74c0dea3ae53105b.tar.gz 42-minishell-ffd4838e8fbaafa80945bcbd74c0dea3ae53105b.tar.bz2 42-minishell-ffd4838e8fbaafa80945bcbd74c0dea3ae53105b.tar.xz 42-minishell-ffd4838e8fbaafa80945bcbd74c0dea3ae53105b.tar.zst 42-minishell-ffd4838e8fbaafa80945bcbd74c0dea3ae53105b.zip |
Fix
Diffstat (limited to '')
-rw-r--r-- | src/m_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_loop.c b/src/m_loop.c index 76ed6e0..ac3ca12 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -125,7 +125,7 @@ uint8_t m_loop(int32_t fd, t_msh *msh) int8_t gnl; gnl = 1; - msh->curr_hist = hist; + msh->curr_hist_ptr = hist; while (gnl > 0) { if (fd == STDIN_FILENO) |