🔨」 fix: fixed some things.

This commit is contained in:
yosyo
2024-08-10 19:00:50 +02:00
parent f4fd027293
commit 68ac1411e9

View File

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* ft_lstnew.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mmoussou <mmoussou@student.42angoulem +#+ +:+ +#+ */
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/07 16:02:40 by mmoussou #+# #+# */
/* Updated: 2024/08/10 13:57:35 by adjoly ### ########.fr */
/* Updated: 2024/08/10 19:00:42 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -16,7 +16,7 @@ t_list *ft_lstnew(void *content)
{
t_list *r;
if (!content || !*content)
if (!content)
return (NULL);
r = malloc(sizeof(t_list));
if (!r)