minor hex_dump() formatting bug fix to properly align ascii remainder output
This commit is contained in:
@@ -62,6 +62,8 @@ hex_dump(const unsigned char *data, const int size)
|
||||
{
|
||||
for(i=0; i < 16-ln; i++)
|
||||
printf(" ");
|
||||
if(ln < 8)
|
||||
printf(" ");
|
||||
|
||||
printf(" %s\n\n", ascii_str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user