diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:39:11 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:39:11 +0200 |
commit | 64364316125af2831cf448cc27bcbfc531e9c271 (patch) | |
tree | 73a7213d11627ac8dc1490070e6bafd5c7b55932 /src/u_vars.c | |
parent | Normed d_define (diff) | |
download | 42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.gz 42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.bz2 42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.xz 42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.zst 42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.zip |
Names update
Diffstat (limited to '')
-rw-r--r-- | src/u_vars.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/u_vars.c b/src/u_vars.c index 17221f5..fe179cf 100644 --- a/src/u_vars.c +++ b/src/u_vars.c @@ -57,12 +57,12 @@ static void char tmp[255]; int32_t n; - if (ft_strncmp(varname, FT_RET_VAR, 3) == 0) + if (ft_strncmp(varname, M_RET_VAR, 3) == 0) { ft_uitoa_s(tmp, msh->ret); ft_strlcpy(str, tmp, 4); } - else if (ft_strncmp(varname, FT_ARGC_VAR, 3) == 0) + else if (ft_strncmp(varname, M_ARGC_VAR, 3) == 0) { ft_uitoa_s(tmp, msh->argc); ft_strlcpy(str, tmp, 255); |