d
This commit is contained in:
parent
8dc79894f8
commit
898be1619f
@ -6,7 +6,7 @@
|
||||
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/10/12 14:34:28 by cchauvet #+# #+# */
|
||||
/* Updated: 2022/11/23 16:09:56 by cchauvet ### ########.fr */
|
||||
/* Updated: 2022/12/11 19:23:34 by cchauvet ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -18,7 +18,10 @@ static int ft_dprintseg(int fd, const char *str)
|
||||
|
||||
i = 0;
|
||||
while (str[i] != '\0' && ft_skipflag(str + i) == 0)
|
||||
ft_putchar_fd(fd, str[i++]);
|
||||
{
|
||||
ft_putchar_fd(fd, str[i]);
|
||||
i++;
|
||||
}
|
||||
return (i);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user