diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-10-30 16:32:46 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-10-30 16:32:46 +0100 |
commit | 27ea0240a97d0745dda0f87940bfe5940f9c594c (patch) | |
tree | b64a14ea7c3a8091c8127df3a3f2ed11060f08b4 /src/main.c | |
parent | New libft, feelsgoodman (diff) | |
download | 42-minishell-27ea0240a97d0745dda0f87940bfe5940f9c594c.tar.gz 42-minishell-27ea0240a97d0745dda0f87940bfe5940f9c594c.tar.bz2 42-minishell-27ea0240a97d0745dda0f87940bfe5940f9c594c.tar.xz 42-minishell-27ea0240a97d0745dda0f87940bfe5940f9c594c.tar.zst 42-minishell-27ea0240a97d0745dda0f87940bfe5940f9c594c.zip |
work work
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |