mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
fix dump printout when byte >= 0x80
(This used to be commit e18fab269c7370a6670c56eeab60fd90feecf0b2)
This commit is contained in:
parent
4c3c483fbf
commit
df133758c2
@ -135,7 +135,7 @@ static void print_data(const char *buf,int len)
|
||||
if (len<=0) return;
|
||||
printf("[%03X] ",i);
|
||||
for (i=0;i<len;) {
|
||||
printf("%02X ",(int)buf[i]);
|
||||
printf("%02X ",(int)((unsigned char)buf[i]));
|
||||
i++;
|
||||
if (i%8 == 0) printf(" ");
|
||||
if (i%16 == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user