From 833d1a85f35306bc8e614dd954faaf0031022ce0 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 16:39:48 +0100 Subject: Deleted gnl security for norm --- src/ft_get_map.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ft_get_map.c') diff --git a/src/ft_get_map.c b/src/ft_get_map.c index 12ab7f7..3844f41 100644 --- a/src/ft_get_map.c +++ b/src/ft_get_map.c @@ -72,8 +72,6 @@ ft_get_map_core(int fd, t_cub *clist) { clist->line_chk += 1; ret = get_next_line(fd, &line); - if (ret < 0) - return (-1); if (!line[0] || ft_check_map_line(line, 0, clist) < 0 || ft_cat_mapl(line, i, clist) < 0) { -- cgit v1.2.3