summaryrefslogtreecommitdiffstats
path: root/src/p_lcom_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 15:45:22 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 15:45:22 +0200
commit63e8608d87b552c690c76da0be593067840785a0 (patch)
tree25b5d5f72c4044c3b1a7befeb707033431d15270 /src/p_lcom_next.c
parentChange (diff)
download42-minishell-63e8608d87b552c690c76da0be593067840785a0.tar.gz
42-minishell-63e8608d87b552c690c76da0be593067840785a0.tar.bz2
42-minishell-63e8608d87b552c690c76da0be593067840785a0.tar.xz
42-minishell-63e8608d87b552c690c76da0be593067840785a0.tar.zst
42-minishell-63e8608d87b552c690c76da0be593067840785a0.zip
$? fix
Diffstat (limited to 'src/p_lcom_next.c')
-rw-r--r--src/p_lcom_next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_lcom_next.c b/src/p_lcom_next.c
index 1df0a1f..997878e 100644
--- a/src/p_lcom_next.c
+++ b/src/p_lcom_next.c
@@ -36,7 +36,7 @@ static int8_t
s_varname = NULL;
varlen = i + 1;
while ((*p_words)[varlen] != '\0' &&
- !ft_ischarset("$=/#@%^*+{}[],.?-", (*p_words)[varlen]))
+ !ft_ischarset("$=/#@%^*+{}[],.-", (*p_words)[varlen]))
varlen += 1;
if (!(s_varname = ft_substr(*p_words, (uint32_t)i, varlen - i)))
return (-1);