Add tests and fix bugs

This commit is contained in:
gbaconni
2022-04-17 09:59:41 +02:00
parent 5aa3e848e9
commit ba482a0104
8 changed files with 94 additions and 39 deletions

View File

@@ -6,7 +6,7 @@
/* By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/01/18 16:17:58 by gbaconni #+# #+# */
/* Updated: 2022/04/13 00:21:03 by gbaconni ### lausanne.ch */
/* Updated: 2022/04/16 03:07:52 by gbaconni ### lausanne.ch */
/* */
/* ************************************************************************** */
@@ -17,9 +17,8 @@ int ft_printf(const char *format, ...)
va_list ap;
int ret;
ret = 0;
va_start(ap, format);
ret += ft_vprintf(format, ap);
ret = ft_vprintf(format, ap);
va_end(ap);
return (ret);
}