summaryrefslogtreecommitdiffstats
path: root/src/f_redir.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-12 20:43:30 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-12 20:43:30 +0200
commitff116f01c3680d0e5d8c32dd9978ed05a37f800c (patch)
tree73765e5ac7ea4ec8af461f44f6d8288fdad6fd82 /src/f_redir.c
parentLots of stuff to do (diff)
download42-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.c4
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);
}