diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-27 21:19:29 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-27 21:19:29 +0200 |
commit | 004eef9a3fd3403d6634ca658336d9a1e9766685 (patch) | |
tree | 571cd00a9719c9174f0e5ad09f57585a6bd87e86 /src/p_lcom_next.c | |
parent | I couldn't see shit (diff) | |
download | 42-minishell-004eef9a3fd3403d6634ca658336d9a1e9766685.tar.gz 42-minishell-004eef9a3fd3403d6634ca658336d9a1e9766685.tar.bz2 42-minishell-004eef9a3fd3403d6634ca658336d9a1e9766685.tar.xz 42-minishell-004eef9a3fd3403d6634ca658336d9a1e9766685.tar.zst 42-minishell-004eef9a3fd3403d6634ca658336d9a1e9766685.zip |
In progress
Diffstat (limited to '')
-rw-r--r-- | src/p_lcom_next.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_lcom_next.c b/src/p_lcom_next.c index 94ac9bf..a4fbb61 100644 --- a/src/p_lcom_next.c +++ b/src/p_lcom_next.c @@ -34,7 +34,7 @@ static int8_t varlen += 1; if (!(s_varname = ft_substr(*p_words, (uint32_t)i, varlen - i))) return (-1); - varval = subst_var_value(s_varname, msh); + varval = get_var_value(s_varname, msh); *p_words = ft_strsubst(*p_words, s_varname, varval); ft_memdel((void*)&s_varname); ft_memdel((void*)&varval); |