summaryrefslogtreecommitdiffstats
path: root/src/e_externs_pipes.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/e_externs_pipes.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/e_externs_pipes.c')
-rw-r--r--src/e_externs_pipes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/e_externs_pipes.c b/src/e_externs_pipes.c
index e1518fa..858e60f 100644
--- a/src/e_externs_pipes.c
+++ b/src/e_externs_pipes.c
@@ -153,7 +153,7 @@ void
i = 0;
while (rptr != NULL)
{
- if (ft_ischarset("/.", rptr->com->bin[0]))
+ if (ft_ischarset("/.", rptr->com->bin[0]) == TRUE)
{
if ((fullpath[i] = ft_strdup(rptr->com->bin)) == NULL)
f_alloc_and_destroy_msh(msh);