From: Lukas Jiriste Date: Sun, 21 Jul 2024 18:32:16 +0000 (+0200) Subject: Fix change in ft_split signature. X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=0e448335a87921c5ef7a840c15b4f9508ff4200d;p=42%2Fminishell.git Fix change in ft_split signature. --- diff --git a/src/execution.c b/src/execution.c index f3a95dc..bbd0f4e 100644 --- a/src/execution.c +++ b/src/execution.c @@ -6,7 +6,7 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/07/21 08:57:54 by ljiriste #+# #+# */ -/* Updated: 2024/07/21 20:00:06 by ljiriste ### ########.fr */ +/* Updated: 2024/07/21 20:31:47 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ @@ -440,7 +440,7 @@ char **expand(t_parse_tree_node *simple_command, const t_execution_env *env) ft_vec_free(&expanded_str, NULL); return (NULL); } - res = ft_split(expanded_str.vec, ' '); + res = ft_split(expanded_str.vec, " "); ft_vec_free(&expanded_str, NULL); return (res); }