util/lc_hexdump_fp: advance pointer
This commit is contained in:
parent
dd94f1e75d
commit
6ac9d9b325
1 changed files with 1 additions and 0 deletions
1
util.c
1
util.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue