From 66ed3290deb97057875aa7372741595e3fa290a6 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 29 Oct 2019 05:20:35 +0100 Subject: String conversion refactor, malloc protection --- ft_printf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ft_printf.c') diff --git a/ft_printf.c b/ft_printf.c index 5a57a23..5bfd2e8 100644 --- a/ft_printf.c +++ b/ft_printf.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/29 00:15:28 by cacharle #+# #+# */ -/* Updated: 2019/10/29 00:16:41 by cacharle ### ########.fr */ +/* Updated: 2019/10/29 05:17:55 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -38,7 +38,7 @@ int ft_printf(const char *format, ...) write(STDOUT_FILENO, format + i, 1); continue ; } - str = convert_to_str(format_list->content, ap); + str = convert(format_list->content, ap); if (str == NULL) { list_destroy(&format_list); -- cgit