mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 21:27:57 +00:00
Fix a bug in debug hexdumps
Introduced in the recent log system overhaul.
This commit is contained in:
parent
fad187046e
commit
2333a116f3
@ -39,7 +39,6 @@ int serval_log_hexdump(int level, struct __sourceloc whence, char *name, const u
|
|||||||
char buf[100];
|
char buf[100];
|
||||||
strbuf b = strbuf_local_buf(buf);
|
strbuf b = strbuf_local_buf(buf);
|
||||||
size_t skip = xhexdump_line(XPRINTF_STRBUF(b), addr, len, off);
|
size_t skip = xhexdump_line(XPRINTF_STRBUF(b), addr, len, off);
|
||||||
addr += skip;
|
|
||||||
off += skip;
|
off += skip;
|
||||||
serval_logf(level, whence, " %s", strbuf_str(b));
|
serval_logf(level, whence, " %s", strbuf_str(b));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user