summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
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;