diff --git a/heredoc.c b/heredoc.c index df182a4..8b7f2e2 100644 --- a/heredoc.c +++ b/heredoc.c @@ -1,5 +1,4 @@ #include "minishell.h" -#include int ft_heredoc(char *stop) { @@ -16,7 +15,6 @@ int ft_heredoc(char *stop) break ; } ft_putstr_fd(line, fds[1]); - add_history(line); free(line); line = readline("> "); }