mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-03-15 03:16:51 +01:00
「🔨」 fix: fixed some things.
This commit is contained in:
@ -3,10 +3,10 @@
|
|||||||
/* ::: :::::::: */
|
/* ::: :::::::: */
|
||||||
/* ft_lstnew.c :+: :+: :+: */
|
/* ft_lstnew.c :+: :+: :+: */
|
||||||
/* +:+ +:+ +:+ */
|
/* +:+ +:+ +:+ */
|
||||||
/* By: mmoussou <mmoussou@student.42angoulem +#+ +:+ +#+ */
|
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/11/07 16:02:40 by mmoussou #+# #+# */
|
/* 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;
|
t_list *r;
|
||||||
|
|
||||||
if (!content || !*content)
|
if (!content)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
r = malloc(sizeof(t_list));
|
r = malloc(sizeof(t_list));
|
||||||
if (!r)
|
if (!r)
|
||||||
|
Reference in New Issue
Block a user