mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-14 00:08:47 +02:00
「🏗️」 wip: __to_token nearly done
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: mmoussou <mmoussou@student.42angoulem +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/08 21:44:04 by mmoussou #+# #+# */
|
||||
/* Updated: 2023/11/13 19:31:49 by mmoussou ### ########.fr */
|
||||
/* Updated: 2024/05/22 11:35:58 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -18,7 +18,7 @@ void ft_lstclear(t_list **lst, void (*del)(void *))
|
||||
|
||||
if (!lst || !del)
|
||||
return ;
|
||||
while (*lst)
|
||||
while (*lst && lst && del)
|
||||
{
|
||||
tmp = (*lst)->next;
|
||||
ft_lstdelone(*lst, del);
|
||||
|
Reference in New Issue
Block a user