From 44dd5832ad0b7af9186bd5369884d258378a5781 Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 27 Oct 2019 19:34:03 +0100 Subject: Fixed memory leak at end of file --- get_next_line.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'get_next_line.h') diff --git a/get_next_line.h b/get_next_line.h index f1f45aa..e556482 100644 --- a/get_next_line.h +++ b/get_next_line.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/09 13:52:59 by cacharle #+# #+# */ -/* Updated: 2019/10/24 10:56:13 by cacharle ### ########.fr */ +/* Updated: 2019/10/27 19:10:23 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,7 +16,7 @@ # include # ifndef BUFFER_SIZE -# define BUFFER_SIZE 1 +# define BUFFER_SIZE 32 # endif # define LINE_READ 1 @@ -32,7 +32,7 @@ typedef int t_bool; ** get_next_line.c */ -int real_get_next_line(int fd, char **line, int ret, int split_at); +int real_get_next_line(int fd, char **line, int ret); int get_next_line(int fd, char **line); int put_rest(char **line, char *rest); int find_newline(char *str); -- cgit