Add plaintext debug payload.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
42dcdd3372
commit
dbfb89f959
1 changed files with 5 additions and 0 deletions
|
|
@ -50,6 +50,11 @@ typedef struct cmd {
|
|||
else printf(" "); \
|
||||
if (_j == 7) printf(" "); \
|
||||
} printf(": "); \
|
||||
for (int _j = 0; _j < 16; _j++) { \
|
||||
if (_j < _s - _i && (_p)[_i + _j] > 32 && (_p)[_i + _j] != 127 && (_p)[_i + _j] < 176) printf("%c", (_p)[_i + _j]); \
|
||||
else printf(" "); \
|
||||
if (_j == 7) printf(" "); \
|
||||
} \
|
||||
printf("\r\n"); \
|
||||
} printf("\r\n"); \
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue