diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 19:21:23 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 19:21:23 +0200 |
commit | 0daacec366aab889b2b24d7fc6edebe1370d7e28 (patch) | |
tree | b16cf4d5c03751838896acee6c2d6129f3372b3b /src/ft_p_lcom.c | |
parent | Continuing (diff) | |
download | 42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.gz 42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.bz2 42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.xz 42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.tar.zst 42-minishell-0daacec366aab889b2b24d7fc6edebe1370d7e28.zip |
Linked list not working but ok
Diffstat (limited to '')
-rw-r--r-- | src/ft_p_lcom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ft_p_lcom.c b/src/ft_p_lcom.c index 8c3d6d4..3ea6b16 100644 --- a/src/ft_p_lcom.c +++ b/src/ft_p_lcom.c @@ -12,6 +12,7 @@ #include <libft.h> #include <stdint.h> +#include "ft_s_lcom.h" #include "ft_s_struct.h" int8_t @@ -31,7 +32,7 @@ int8_t { return (-1); } - msh->lcom = msh->lcom.next; + msh->lcom = msh->lcom->next; i++; } return (0); |