diff options
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); |