summaryrefslogtreecommitdiffstats
path: root/src/u_vars_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-30 18:22:32 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-30 18:22:32 +0200
commitf441e00ea60a5e485d853d5dd3ac99a8535a40cc (patch)
treec6caa787b7b51b5cd04fe010dbdde87abce3e09b /src/u_vars_next.c
parentLess retarded stuff (diff)
download42-minishell-f441e00ea60a5e485d853d5dd3ac99a8535a40cc.tar.gz
42-minishell-f441e00ea60a5e485d853d5dd3ac99a8535a40cc.tar.bz2
42-minishell-f441e00ea60a5e485d853d5dd3ac99a8535a40cc.tar.xz
42-minishell-f441e00ea60a5e485d853d5dd3ac99a8535a40cc.tar.zst
42-minishell-f441e00ea60a5e485d853d5dd3ac99a8535a40cc.zip
In progress
Diffstat (limited to 'src/u_vars_next.c')
-rw-r--r--src/u_vars_next.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/u_vars_next.c b/src/u_vars_next.c
index 8134de3..8e02c26 100644
--- a/src/u_vars_next.c
+++ b/src/u_vars_next.c
@@ -64,7 +64,8 @@ void
{
/* TODO: Handle this fail */
}
- (void)ft_strlcpy(msh->envp[env_line], new_line_fmt, ft_strlen(new_line_fmt) + 1);
+ (void)ft_strlcpy(msh->envp[env_line],
+ new_line_fmt, ft_strlen(new_line_fmt) + 1);
}
else
{