makefile fix and other fixes
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/11/09 15:06:49 by dgaillet #+# #+# */
|
||||
/* Updated: 2025/11/11 15:20:02 by dgaillet ### ########lyon.fr */
|
||||
/* Updated: 2025/11/12 13:11:12 by dgaillet ### ########lyon.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -16,6 +16,8 @@ void ft_lstadd_back(t_list **lst, t_list *new)
|
||||
{
|
||||
t_list *temp;
|
||||
|
||||
if (!lst)
|
||||
return ;
|
||||
if (!(*lst))
|
||||
{
|
||||
*lst = new;
|
||||
|
||||
Reference in New Issue
Block a user