More readable ft_putstr function

This commit is contained in:
Timo Schmidt 2023-03-19 19:26:01 +01:00
parent 7da10506bb
commit 29151da810
1 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@
/* By: jtorrez- <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/18 20:15:26 by jtorrez- #+# #+# */
/* Updated: 2023/03/19 19:07:32 by tischmid ### ########.fr */
/* Updated: 2023/03/19 19:25:29 by tischmid ### ########.fr */
/* */
/* ************************************************************************** */
@ -76,5 +76,8 @@ void ft_putstr(char *str)
i = 0;
while (str[i] != '\0')
ft_putchar(str[i++]);
{
ft_putchar(str[i]);
i = i + 1;
}
}