diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-12 20:43:30 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-12 20:43:30 +0200 |
commit | ff116f01c3680d0e5d8c32dd9978ed05a37f800c (patch) | |
tree | 73765e5ac7ea4ec8af461f44f6d8288fdad6fd82 /src/f_redir.c | |
parent | Lots of stuff to do (diff) | |
download | 42-minishell-ff116f01c3680d0e5d8c32dd9978ed05a37f800c.tar.gz 42-minishell-ff116f01c3680d0e5d8c32dd9978ed05a37f800c.tar.bz2 42-minishell-ff116f01c3680d0e5d8c32dd9978ed05a37f800c.tar.xz 42-minishell-ff116f01c3680d0e5d8c32dd9978ed05a37f800c.tar.zst 42-minishell-ff116f01c3680d0e5d8c32dd9978ed05a37f800c.zip |
FeelsCleanMan
Diffstat (limited to 'src/f_redir.c')
-rw-r--r-- | src/f_redir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/f_redir.c b/src/f_redir.c index 3561272..71e5613 100644 --- a/src/f_redir.c +++ b/src/f_redir.c @@ -16,7 +16,7 @@ #include <unistd.h> #include <errno.h> -#include "s_lcom.h" +#include "s_line.h" #include "s_destroy.h" void @@ -25,7 +25,7 @@ void { ft_dprintf(STDERR_FILENO, "%s: %s: %s\n", msh->shname, path, strerror(errno)); - lcom_clear(&msh->curr); + s_line_clear(&msh->curr); s_destroy(msh); exit(1); } |