summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 17:18:18 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-03 17:18:18 +0200
commit217575c0bed589b0eb5c0e806e34f0d9a2985f75 (patch)
tree2fdac45b69139e53e5200fce289bcfb3ce27a869
parentNormed u_vars_next (diff)
download42-minishell-217575c0bed589b0eb5c0e806e34f0d9a2985f75.tar.gz
42-minishell-217575c0bed589b0eb5c0e806e34f0d9a2985f75.tar.bz2
42-minishell-217575c0bed589b0eb5c0e806e34f0d9a2985f75.tar.xz
42-minishell-217575c0bed589b0eb5c0e806e34f0d9a2985f75.tar.zst
42-minishell-217575c0bed589b0eb5c0e806e34f0d9a2985f75.zip
Normed u_vars_next
-rw-r--r--src/u_vars_next.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/u_vars_next.c b/src/u_vars_next.c
index 3099e6a..6455efe 100644
--- a/src/u_vars_next.c
+++ b/src/u_vars_next.c
@@ -76,7 +76,9 @@ static t_bool u_get_custom_var_existance(const char varname[], t_msh *msh)
** TODO: Handle malloc fail
*/
-void u_subst_var_value(const char varname[], const char newval[], t_msh *msh)
+void u_subst_var_value(const char varname[],
+ const char newval[],
+ t_msh *msh)
{
char new_line_fmt[ARG_MAX];
int64_t env_line;