From 541d187f9fa37f79b5815a5d4d52ac5ad5bf2bab Mon Sep 17 00:00:00 2001 From: salad Date: Mon, 2 Nov 2020 15:23:19 +0100 Subject: merge happenned --- src/m_loop_counter.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/m_loop_counter.c') diff --git a/src/m_loop_counter.c b/src/m_loop_counter.c index 85609dd..430968a 100644 --- a/src/m_loop_counter.c +++ b/src/m_loop_counter.c @@ -13,6 +13,7 @@ #include #include +#include "c_init.h" #include "m_prompt.h" #include "s_struct.h" @@ -23,7 +24,7 @@ char *m_counter_line_backslash(int fd, { char *counter_line; - c_gnl(fd, &line, psx, msh); + c_gnl(fd, &counter_line, psx, msh); if (counter_line[0] != C_NUL) { l = ft_nrealloc(l, @@ -41,7 +42,7 @@ char *m_counter_line_pipes(int fd, unsigned char psx, char *line, t_msh *msh) { char *counter_line; - c_gnl(fd, &line, psx, msh); + c_gnl(fd, &counter_line, psx, msh); if (counter_line[0] != C_NUL) { line = ft_nrealloc(line, @@ -62,7 +63,7 @@ char *m_counter_line_quotes(int fd, { char *counter_line; - c_gnl(fd, &line, psx, msh); + c_gnl(fd, &counter_line, psx, msh); if (counter_line[0] != C_NUL) { line = ft_nrealloc(line, -- cgit v1.2.3