Norminette fixes

This commit is contained in:
2025-12-09 20:04:37 +01:00
parent 5e08fc76ef
commit 936c4604fd
9 changed files with 24 additions and 23 deletions

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/15 18:37:44 by aortigos #+# #+# */
/* Updated: 2025/12/09 19:21:50 by aortigos ### ########.fr */
/* Updated: 2025/12/09 19:59:07 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -32,7 +32,7 @@ char *ft_read_to_left_str(int fd, char *left_str)
}
buff[rd_bytes] = '\0';
if (!left_str)
left_str = ft_strdup(""); // o malloc(1) + '\0'
left_str = ft_strdup("");
left_str = ft_strjoin(left_str, buff);
}
free(buff);