summaryrefslogtreecommitdiffstats
path: root/src/u_vars.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:39:11 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:39:11 +0200
commit64364316125af2831cf448cc27bcbfc531e9c271 (patch)
tree73a7213d11627ac8dc1490070e6bafd5c7b55932 /src/u_vars.c
parentNormed d_define (diff)
download42-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.c4
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);