util/lc_hexdump_fp: advance pointer

This commit is contained in:
Lucas Gabriel Vuotto 2024-06-05 23:36:48 +00:00
parent dd94f1e75d
commit 6ac9d9b325

1
util.c
View File

@ -105,6 +105,7 @@ lc_hexdump_fp(FILE *fp, const void *blob, size_t len)
l = hexdump_line(buf, p, len, off, pad);
if (fputs(buf, fp) == EOF)
return 0;
p += l;
off += l;
len -= l;
}