summaryrefslogtreecommitdiffstats
path: root/src/b_sqb.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-26 00:52:38 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-26 00:52:38 +0200
commit0c70b27f97513563096c65f9d2b5202caeaf6d26 (patch)
tree35046670a2a33f36d19e3784c377459766348cad /src/b_sqb.c
parentNew flags, in progress (diff)
download42-minishell-0c70b27f97513563096c65f9d2b5202caeaf6d26.tar.gz
42-minishell-0c70b27f97513563096c65f9d2b5202caeaf6d26.tar.bz2
42-minishell-0c70b27f97513563096c65f9d2b5202caeaf6d26.tar.xz
42-minishell-0c70b27f97513563096c65f9d2b5202caeaf6d26.tar.zst
42-minishell-0c70b27f97513563096c65f9d2b5202caeaf6d26.zip
Coolio
Diffstat (limited to 'src/b_sqb.c')
-rw-r--r--src/b_sqb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/b_sqb.c b/src/b_sqb.c
index d78e345..90e9b58 100644
--- a/src/b_sqb.c
+++ b/src/b_sqb.c
@@ -63,8 +63,8 @@ static uint8_t
return (2);
}
/* TODO: check errors */
- if (id < )
- ft_printf("%s\n", msh->sqb_ref[id]);
+ if (id < FT_ID_SQB_NT && id != FT_ID_SQB_Z && id != FT_ID_SQB_N)
+ ft_printf("%s\n", msh->sqb_ref[id]);
return (0);
}