diff options
Diffstat (limited to 'src/p_lblock.c')
-rw-r--r-- | src/p_lblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_lblock.c b/src/p_lblock.c index b8341cd..36f2e12 100644 --- a/src/p_lblock.c +++ b/src/p_lblock.c @@ -80,9 +80,9 @@ static int8_t p_loop(char *words[], t_msh *msh) { if ((link = s_line_new(NULL, 0)) == NULL) return (-1); + s_line_add_back(&msh->curr, link); if ((s_split_pipes(words[i], msh)) == NULL) return (-1); - s_line_add_back(&msh->curr, link); i++; continue ; } |