summaryrefslogtreecommitdiffstats
path: root/src/p_args.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/p_args.c')
-rw-r--r--src/p_args.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/p_args.c b/src/p_args.c
index ee2b937..7d5a579 100644
--- a/src/p_args.c
+++ b/src/p_args.c
@@ -96,7 +96,7 @@ static t_bool
static char
*p_skip_whitespace(char *ptr)
{
- while (*ptr != C_NULL && ft_iswhitespace(*ptr))
+ while (*ptr != C_NUL && ft_iswhitespace(*ptr))
ptr++;
return (ptr);
}
@@ -113,8 +113,9 @@ static uint16_t
count = 1;
ptr = p_skip_whitespace(ptr);
start[0] = (ptr - word);
- while (*ptr != C_NULL)
+ while (*ptr != C_NUL)
{
+ if (*ptr == C_BACKS)
if (*ptr == C_DQUOTE)
mode = p_meet_dquote((char*)word, ptr, mode);
else if (*ptr == C_SQUOTE)