summaryrefslogtreecommitdiffstats
path: root/src/p_args_escape.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-02 19:45:14 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-02 19:45:14 +0200
commitf55fd2039fe0e2bdad5f89f39b413d76aed1f3b3 (patch)
tree2da50caf265d36d8ec86da571f4ddeb45c76c0e6 /src/p_args_escape.c
parentNormed p_args_escape (diff)
download42-minishell-f55fd2039fe0e2bdad5f89f39b413d76aed1f3b3.tar.gz
42-minishell-f55fd2039fe0e2bdad5f89f39b413d76aed1f3b3.tar.bz2
42-minishell-f55fd2039fe0e2bdad5f89f39b413d76aed1f3b3.tar.xz
42-minishell-f55fd2039fe0e2bdad5f89f39b413d76aed1f3b3.tar.zst
42-minishell-f55fd2039fe0e2bdad5f89f39b413d76aed1f3b3.zip
Renormed p_args_escape
Diffstat (limited to '')
-rw-r--r--src/p_args_escape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_args_escape.c b/src/p_args_escape.c
index d878004..6e4422b 100644
--- a/src/p_args_escape.c
+++ b/src/p_args_escape.c
@@ -132,7 +132,7 @@ void p_args_escape_chars_and_quotes(char *words[])
if (*rptr == C_SUB && *(rptr + 1) == C_SUB)
{
(void)ft_memmove(head + (rptr - head), rptr + 1,
- (ft_strlen(rptr + 1) + 1) * sizeof(char));
+ (ft_strlen(rptr + 1) + 1) * sizeof(char));
*rptr = C_BACKS;
}
rptr++;