aboutsummaryrefslogtreecommitdiff
path: root/src/repl.c
diff options
context:
space:
mode:
authorChristopher Uhlig2024-08-11 15:15:06 +0200
committerDominik Kaiser2024-08-11 15:42:30 +0200
commit0d4f9e94f6d28a154ae4be3b918bfb014b4fa1e0 (patch)
treeff66a099b7f364dc2e50d91b8b397df0ba1e4e0c /src/repl.c
parent8abf7abdc9d49f52c4fcad0afc92730c4c195b7f (diff)
downloadminishell-0d4f9e94f6d28a154ae4be3b918bfb014b4fa1e0.tar.gz
minishell-0d4f9e94f6d28a154ae4be3b918bfb014b4fa1e0.zip
fixed |> fixed norm added new function
Diffstat (limited to 'src/repl.c')
-rw-r--r--src/repl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repl.c b/src/repl.c
index 1fd7be7..fe9faf3 100644
--- a/src/repl.c
+++ b/src/repl.c
@@ -6,7 +6,7 @@
/* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/24 16:07:04 by dkaiser #+# #+# */
-/* Updated: 2024/08/09 15:27:11 by chuhlig ### ########.fr */
+/* Updated: 2024/08/11 14:41:29 by chuhlig ### ########.fr */
/* */
/* ************************************************************************** */
@@ -27,8 +27,8 @@ void repl(const char *prompt)
return ;
add_history(input);
token_list = NULL;
- tokenizer(input, &token_list);
current = token_list;
+ tokenizer(input, &token_list, '\0');
while (current != NULL)
{
next = current->next;