From ff116f01c3680d0e5d8c32dd9978ed05a37f800c Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 12 Aug 2020 20:43:30 +0200 Subject: FeelsCleanMan --- src/f_alloc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/f_alloc.c') diff --git a/src/f_alloc.c b/src/f_alloc.c index 62b7008..641bc9f 100644 --- a/src/f_alloc.c +++ b/src/f_alloc.c @@ -17,7 +17,7 @@ #include #include "s_destroy.h" -#include "s_lcom.h" +#include "s_line.h" #include "s_struct.h" void @@ -25,7 +25,7 @@ void { char tmp[255]; - lcom_clear(&msh->curr); + s_line_clear(&msh->curr); ft_strlcpy(tmp, msh->shname, ft_strlen(msh->shname) + 1); s_destroy(msh); ft_dprintf(STDERR_FILENO, "%s: %s\n", tmp, strerror(errno)); @@ -33,8 +33,8 @@ void } void - f_alloc_and_clear_lcom(t_msh *msh) + f_alloc_and_clear_line(t_msh *msh) { - lcom_clear(&msh->curr); + s_line_clear(&msh->curr); ft_dprintf(STDERR_FILENO, "%s: %s\n", msh->shname, strerror(errno)); } -- cgit v1.2.3