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 d6ed5f2..4001020 100644 --- a/src/u_vars.c +++ b/src/u_vars.c @@ -90,7 +90,7 @@ static char { char *varval; - if (!ft_strncmp(varname, FT_RET_VAR, 3)) + if (ft_strncmp(varname, FT_RET_VAR, 3) == 0) { if (!(varval = ft_uitoa(msh->ret))) { @@ -100,7 +100,7 @@ static char } return (varval); } - else if (!ft_strncmp(varname, FT_ZER_VAR, 3)) + else if (ft_strncmp(varname, FT_ZER_VAR, 3) == 0) { if (!(varval = ft_strdup(msh->shname))) { |