A POR TODAAS

This commit is contained in:
marcnava-42cursus
2026-02-14 06:14:59 +01:00
parent e2b734cf0c
commit dd6101edec
5 changed files with 269 additions and 167 deletions

View File

@@ -71,7 +71,9 @@ void set_env(
}
}
val = value;
if (val != NULL)
if (val == NULL)
val = ft_strdup("");
else
val = ft_strdup(value);
if (val == NULL)
{