diff options
Diffstat (limited to '')
-rw-r--r-- | src/f_redir.c (renamed from src/ft_f_redir.c) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ft_f_redir.c b/src/f_redir.c index 2cd7d58..3561272 100644 --- a/src/ft_f_redir.c +++ b/src/f_redir.c @@ -1,7 +1,7 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* ft_f_redir.c :+: :+: :+: */ +/* f_redir.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ @@ -16,16 +16,16 @@ #include <unistd.h> #include <errno.h> -#include "ft_s_lcom.h" -#include "ft_s_destroy.h" +#include "s_lcom.h" +#include "s_destroy.h" void - ft_f_redir(const char path[], + f_redir(const char path[], t_msh *msh) { ft_dprintf(STDERR_FILENO, "%s: %s: %s\n", msh->shname, path, strerror(errno)); - ft_lcom_clear(&msh->curr); - ft_s_destroy(msh); + lcom_clear(&msh->curr); + s_destroy(msh); exit(1); } |