aboutsummaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-03 15:21:36 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-04 18:48:44 +0000
commitfd5d68c819d41cb5966408713ed3fb5d27e3ff57 (patch)
treee4c1db630c476c419a29172e34ba588fc7e59988 /debug.c
parentextract: finish: fix bad assertion - ‘idx’ may be equal to ‘size’ (diff)
extract: finish: increase ‘idx’ when pushing new data, for consistency
We don’t write anything more to the buffer after this, but this makes this code consistent with all other code that pushes new data to the buffer. This makes it easier to search, and validate, the ensure_size()+push-data pattern.
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions