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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53908

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