diff options
Diffstat (limited to '')
-rw-r--r-- | src/f_alloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 <errno.h> #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)); } |