Remove extra spaces in hex dump output.
This commit is contained in:
parent
f8a96f1018
commit
2ab04c7d8e
@ -200,7 +200,7 @@ WriteAscii(u_char *buf, int len)
|
||||
sizeof(sbuf) - strlen(sbuf), "%c", ch);
|
||||
} else
|
||||
snprintf(sbuf + strlen(sbuf),
|
||||
sizeof(sbuf) - strlen(sbuf), " ");
|
||||
sizeof(sbuf) - strlen(sbuf), " ");
|
||||
snprintf(sbuf + strlen(sbuf),
|
||||
sizeof(sbuf) - strlen(sbuf), "\n");
|
||||
(void) write(1, sbuf, strlen(sbuf));
|
||||
|
Loading…
Reference in New Issue
Block a user