summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-05 16:00:25 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-05 16:00:25 +0200
commit80e6471b3eb9dfa10fb0d86cf59fc76235c39554 (patch)
treeec16097d14067356b6159d994721f7e9a16e4cc0
parentCorrect func name (diff)
download42-minishell-80e6471b3eb9dfa10fb0d86cf59fc76235c39554.tar.gz
42-minishell-80e6471b3eb9dfa10fb0d86cf59fc76235c39554.tar.bz2
42-minishell-80e6471b3eb9dfa10fb0d86cf59fc76235c39554.tar.xz
42-minishell-80e6471b3eb9dfa10fb0d86cf59fc76235c39554.tar.zst
42-minishell-80e6471b3eb9dfa10fb0d86cf59fc76235c39554.zip
Not quite done yet
-rw-r--r--src/p_args_escape.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/p_args_escape.c b/src/p_args_escape.c
index ca77916..2a3a702 100644
--- a/src/p_args_escape.c
+++ b/src/p_args_escape.c
@@ -17,6 +17,9 @@
static void
p_escape_arg(char *ptr)
{
+ t_quote_mode mode;
+
+ mode = Q_NONE;
while (*ptr != C_NULL)
{
ptr++;