summaryrefslogtreecommitdiffstats
path: root/src/p_args_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-08 18:31:51 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-08 18:31:51 +0200
commitd0038f19a7cb23749588b72c9febcf114d9d31e9 (patch)
treee7daa5c0058d7d293d1d93fe9068d5ad59afcabe /src/p_args_next.c
parentIn progress (diff)
download42-minishell-d0038f19a7cb23749588b72c9febcf114d9d31e9.tar.gz
42-minishell-d0038f19a7cb23749588b72c9febcf114d9d31e9.tar.bz2
42-minishell-d0038f19a7cb23749588b72c9febcf114d9d31e9.tar.xz
42-minishell-d0038f19a7cb23749588b72c9febcf114d9d31e9.tar.zst
42-minishell-d0038f19a7cb23749588b72c9febcf114d9d31e9.zip
static hist, words fix
Diffstat (limited to 'src/p_args_next.c')
-rw-r--r--src/p_args_next.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/p_args_next.c b/src/p_args_next.c
index 77f8ced..6fd6b08 100644
--- a/src/p_args_next.c
+++ b/src/p_args_next.c
@@ -25,8 +25,8 @@ static char
{
tmp[0] = '\0';
ft_strlcpy(tmp,
- word + start[i],
- (p_arg_len(word, start[i]) - start[i]) + 1);
+ word + start[i],
+ (p_arg_len(word, start[i]) - start[i]) + 1);
return (tmp);
}
@@ -63,4 +63,3 @@ uint16_t
}
return (i);
}
-