summaryrefslogtreecommitdiffstats
path: root/src/s_com.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-17 17:22:24 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-17 17:22:24 +0200
commitcfaf9947227065ce40661544dff9b3554ff5aca2 (patch)
treee0d5da338e8df09c71c47405f5558cb67aac1cf8 /src/s_com.c
parentUpdated TODO list (diff)
download42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.gz
42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.bz2
42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.xz
42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.zst
42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.zip
Set libft/ft_is* to type t_bool
Diffstat (limited to 'src/s_com.c')
-rw-r--r--src/s_com.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s_com.c b/src/s_com.c
index 2abbe9e..1bde96c 100644
--- a/src/s_com.c
+++ b/src/s_com.c
@@ -40,7 +40,7 @@ static int8_t
{
/* TODO: cut fd number "msh ~> echo a 2>file" */
/* ^ */
- if (ft_ischarset("<>", words[i][0]))
+ if (ft_ischarset("<>", words[i][0]) == TRUE)
break ;
i++;
}