Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix iteration after expiring a list entry
After removing an entry, the next entry will be at the same offset as the entry we just removed. Also the total length will have changed. Update the length when we remove an entry, and advance the offset only when we don't. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
- Loading branch information