aboutsummaryrefslogtreecommitdiff
path: root/ft_printf.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-10-30 23:35:40 +0100
committerCharles <sircharlesaze@gmail.com>2019-10-30 23:35:40 +0100
commitd63d6916249f5b40b81097854d8ca2c9d4d7d071 (patch)
treeb98fe6a060fdb632d00ddf9385f6579a32619f38 /ft_printf.c
parent22f334a19cabebf10727d7894102946ba23d0e37 (diff)
downloadft_printf-d63d6916249f5b40b81097854d8ca2c9d4d7d071.tar.gz
ft_printf-d63d6916249f5b40b81097854d8ca2c9d4d7d071.tar.bz2
ft_printf-d63d6916249f5b40b81097854d8ca2c9d4d7d071.zip
Normed converters
Diffstat (limited to 'ft_printf.c')
-rw-r--r--ft_printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ft_printf.c b/ft_printf.c
index cf5e020..0352b52 100644
--- a/ft_printf.c
+++ b/ft_printf.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/29 00:15:28 by cacharle #+# #+# */
-/* Updated: 2019/10/30 17:10:32 by cacharle ### ########.fr */
+/* Updated: 2019/10/30 19:58:36 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -49,12 +49,12 @@ int ft_printf(const char *format, ...)
if (flist->content->type == 'c')
{
write(1, str, flist->content->size);
- /* printf("\n%d\n", flist->content->size); */
print_len++;
free(str);
}
else
{
+
ft_putstr(str);
print_len += ft_strlen(str);
free(str);