Skip to content

Commit

Permalink
[mod] add trailing space to all messages before hexdump of values in …
Browse files Browse the repository at this point in the history
…dump()
  • Loading branch information
stef committed Sep 29, 2023
1 parent dc5d2a3 commit 59b56a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ void dump(const uint8_t *p, const size_t len, const char* msg, ...) {
va_start(args, msg);
vfprintf(stderr,msg, args);
va_end(args);
fprintf(stderr, " ");
for(size_t i=0;i<len;i++)
fprintf(stderr,"%02x", p[i]);
fprintf(stderr,"\n");
Expand Down

0 comments on commit 59b56a2

Please sign in to comment.