From 2333a116f387dbcbd1c4f64899d44429c395ad5c Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Fri, 9 Mar 2018 16:51:19 +1030 Subject: [PATCH] Fix a bug in debug hexdumps Introduced in the recent log system overhaul. --- log_util.c | 1 - 1 file changed, 1 deletion(-) diff --git a/log_util.c b/log_util.c index 278a312d..2a530b86 100644 --- a/log_util.c +++ b/log_util.c @@ -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)); }