Commit 8bc19bc
committed
Fix updating gaps code
When cleaning up gaps the case that a gaps start date can become older
than the oldest stored value in the buffer wasn't covered. Furthermore
the cases for cleaning up a single gap didn't run for the last gaps,
since the loop was stopping too early.
Signed-off-by: Matthias Wende <[email protected]>1 parent 1d45fc9 commit 8bc19bc
1 file changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
| 331 | + | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
334 | 338 | | |
335 | 339 | | |
336 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
337 | 344 | | |
338 | | - | |
| 345 | + | |
339 | 346 | | |
340 | 347 | | |
341 | | - | |
| 348 | + | |
342 | 349 | | |
343 | 350 | | |
344 | 351 | | |
| |||
0 commit comments