From 27ea0240a97d0745dda0f87940bfe5940f9c594c Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Wed, 30 Oct 2019 16:32:46 +0100 Subject: work work --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 9df9d88..cfd3587 100644 --- a/src/main.c +++ b/src/main.c @@ -24,6 +24,7 @@ int char c; char *arg; uint8_t i; + int ret; i = 0; arg = NULL; @@ -51,8 +52,7 @@ int i++; } arg[i] = '\0'; - if (ft_process_arg(arg) == 8) - break ; + ret = ft_process_arg(arg); } free(arg); arg = NULL; -- cgit v1.2.3