🔨」 fix: fixed some things.

This commit is contained in:
y-syo
2024-07-16 13:26:49 +02:00
parent bab3478015
commit b55a715fcc
2 changed files with 13 additions and 9 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/25 16:56:34 by mmoussou #+# #+# */
/* Updated: 2024/06/25 16:59:09 by mmoussou ### ########.fr */
/* Updated: 2024/07/16 13:20:17 by mmoussou ### ########.fr */
/* */
/* ************************************************************************** */
@ -16,7 +16,8 @@ void ft_env(t_env *env)
{
while (env)
{
printf("%s=%s\n", env->name, env->content);
if (env->content)
printf("%s=%s\n", env->name, env->content);
env = env->next;
}
}