better log message

This commit is contained in:
Timo Schmidt 2023-03-24 23:18:12 +01:00
parent 9e73cc7176
commit 7f6e5230c8
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 10:25:26 by tischmid #+# #+# */
/* Updated: 2023/03/24 01:29:37 by tischmid ### ########.fr */
/* Updated: 2023/03/24 23:18:06 by tischmid ### ########.fr */
/* */
/* ************************************************************************** */
@ -31,7 +31,7 @@ int main(void)
for (int j = 0; j < 11; ++j)
{
printf("####### Size == %d #######\n", j);
printf("####### Dest = '|' * 10, src = 'Hey', Size == %d #######\n", j);
ft_strncpy(buf, "Hei", j);
for (int i = 0; i < BUFSIZE; ++i)
printf((buf[i] >= 32 && buf[i] <= 126) ? "%c\n" : "0x%x\n", buf[i]);