mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 20:57:56 +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];
|
||||
strbuf b = strbuf_local_buf(buf);
|
||||
size_t skip = xhexdump_line(XPRINTF_STRBUF(b), addr, len, off);
|
||||
addr += skip;
|
||||
off += skip;
|
||||
serval_logf(level, whence, " %s", strbuf_str(b));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user