Better log message

This commit is contained in:
Timo Schmidt 2023-03-24 23:17:09 +01:00
parent 575310c883
commit 0070587f4d
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */ /* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2023/03/19 05:59:56 by tischmid #+# #+# */ /* Created: 2023/03/19 05:59:56 by tischmid #+# #+# */
/* Updated: 2023/03/24 01:29:58 by tischmid ### ########.fr */ /* Updated: 2023/03/24 23:17:01 by tischmid ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -34,7 +34,7 @@ int main(void)
for (int j = 0; j < arrlen; ++j) for (int j = 0; j < arrlen; ++j)
{ {
printf("####### Element == '%s' #######\n", teststrings[j]); printf("####### buf = '|' * 10, src == '%s' #######\n", teststrings[j]);
ft_strcpy(buf, teststrings[j]); ft_strcpy(buf, teststrings[j]);
for (int i = 0; i < BUFSIZE; ++i) for (int i = 0; i < BUFSIZE; ++i)
printf((buf[i] >= 32 && buf[i] <= 126) ? "%c\n" : "0x%x\n", buf[i]); printf((buf[i] >= 32 && buf[i] <= 126) ? "%c\n" : "0x%x\n", buf[i]);