Remove extra spaces in hex dump output.

This commit is contained in:
Archie Cobbs 1999-11-30 02:09:36 +00:00
parent f8a96f1018
commit 2ab04c7d8e

View File

@ -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));