diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-10-20 07:34:25 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-10-20 07:39:47 +0200 |
| commit | 891dce09989e8ede692d4a6c23e7a208b09ca4d6 (patch) | |
| tree | cae404760be9b47f2f63c2a9e02427a37a093843 /get_next_line.h | |
| parent | a407fe611354d71330fc352fbc2a9fe268b4104f (diff) | |
| download | get_next_line-891dce09989e8ede692d4a6c23e7a208b09ca4d6.tar.gz get_next_line-891dce09989e8ede692d4a6c23e7a208b09ca4d6.tar.bz2 get_next_line-891dce09989e8ede692d4a6c23e7a208b09ca4d6.zip | |
WIP: Normed, fixed double free in ft_strappend
Diffstat (limited to 'get_next_line.h')
| -rw-r--r-- | get_next_line.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/get_next_line.h b/get_next_line.h index 619cb9b..15f9475 100644 --- a/get_next_line.h +++ b/get_next_line.h @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/09 13:52:59 by cacharle #+# #+# */ -/* Updated: 2019/10/19 16:24:03 by cacharle ### ########.fr */ +/* Updated: 2019/10/20 07:39:00 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -14,7 +14,7 @@ # define GET_NEXT_LINE_H # ifndef BUFFER_SIZE -# define BUFFER_SIZE 100000 +# define BUFFER_SIZE 100 # endif # define LINE_READ 1 @@ -32,7 +32,7 @@ typedef int t_bool; */ int get_next_line(int fd, char **line); -char *put_rest(char *line, char *rest); +int put_rest(char **line, char *rest); int find_newline(char *str); /* |
