diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-04 23:13:05 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-04 23:13:05 +0200 |
commit | 14d5ccd7d4a20143bdf60fff6ed54ba8342d8e94 (patch) | |
tree | 21e2eda8c6f86a59feaf0ebdc0854dcfedc900c2 /src/p_args_quotes.c | |
parent | gotta do stuff (diff) | |
download | 42-minishell-14d5ccd7d4a20143bdf60fff6ed54ba8342d8e94.tar.gz 42-minishell-14d5ccd7d4a20143bdf60fff6ed54ba8342d8e94.tar.bz2 42-minishell-14d5ccd7d4a20143bdf60fff6ed54ba8342d8e94.tar.xz 42-minishell-14d5ccd7d4a20143bdf60fff6ed54ba8342d8e94.tar.zst 42-minishell-14d5ccd7d4a20143bdf60fff6ed54ba8342d8e94.zip |
REALLY
Diffstat (limited to '')
-rw-r--r-- | src/p_args_quotes.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/p_args_quotes.c b/src/p_args_quotes.c index 24d39e7..a63ce38 100644 --- a/src/p_args_quotes.c +++ b/src/p_args_quotes.c @@ -47,18 +47,17 @@ static void } } -WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRROOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG - void p_args_quotes(char *words[]) { char **ptr; + char *dq_ptr; + char *sq_ptr; ptr = words; while (*ptr != NULL) { - if (**ptr == C_SQUOTE) - p_arg_squotes(*ptr); + p_arg_squotes(*ptr); else if (**ptr == C_DQUOTE) p_arg_dquotes(*ptr); ptr++; |