Commit 750a7ab1 by Rudolf

Show NULL when NULL char

This might otherwise confuse with regular '0'.
parent 0993657f
Showing with 1 additions and 1 deletions
......@@ -29,7 +29,7 @@ void print_char(unsigned char c)
{
switch (c) {
case 0:
printf("0\n");
printf("NULL\n");
break;
case '\n':
printf("\\n\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment