summaryrefslogtreecommitdiffstats
path: root/src/p_args.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-10 17:28:06 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-10 17:28:06 +0200
commitbea195a2e8d8e26af7511a65af4c8641cb4d1c4f (patch)
treeb3c9deb46292896ec53fa2996152293d2e92f009 /src/p_args.c
parentqwe (diff)
download42-minishell-bea195a2e8d8e26af7511a65af4c8641cb4d1c4f.tar.gz
42-minishell-bea195a2e8d8e26af7511a65af4c8641cb4d1c4f.tar.bz2
42-minishell-bea195a2e8d8e26af7511a65af4c8641cb4d1c4f.tar.xz
42-minishell-bea195a2e8d8e26af7511a65af4c8641cb4d1c4f.tar.zst
42-minishell-bea195a2e8d8e26af7511a65af4c8641cb4d1c4f.zip
Even better parse
Diffstat (limited to '')
-rw-r--r--src/p_args.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p_args.c b/src/p_args.c
index a4b3d02..5276ae1 100644
--- a/src/p_args.c
+++ b/src/p_args.c
@@ -69,9 +69,9 @@ static uint16_t
if (*ptr == C_BACKS)
p_meet_bs(ptr, mode);
if (*ptr == C_DQUOTE)
- mode = u_meet_dquote((char*)word, ptr, mode);
+ mode = u_meet_dquote(word, ptr, mode);
else if (*ptr == C_SQUOTE)
- mode = u_meet_squote((char*)word, ptr, mode);
+ mode = u_meet_squote(word, ptr, mode);
if (ft_iswhitespace(*ptr) &&
p_meet_whitespace((char*)word, ptr, mode) == TRUE)
{