diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/setu/ibf.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/setu/ibf.c b/src/setu/ibf.c index 8f29adb62..dbd23c320 100644 --- a/src/setu/ibf.c +++ b/src/setu/ibf.c | |||
@@ -462,11 +462,11 @@ unpack_counter (const struct InvertibleBloomFilter *ibf, | |||
462 | /** | 462 | /** |
463 | * Pack data left in story before finishing | 463 | * Pack data left in story before finishing |
464 | */ | 464 | */ |
465 | while (bit_to_read_left >= 0) | 465 | while (true) |
466 | { | 466 | { |
467 | /** | 467 | /** |
468 | * Stop decoding when end is reached | 468 | * Stop decoding when end is reached |
469 | */ | 469 | */ |
470 | if (ibf_counter_ctr > (count - 1)) | 470 | if (ibf_counter_ctr > (count - 1)) |
471 | return; | 471 | return; |
472 | 472 | ||
@@ -504,13 +504,9 @@ unpack_counter (const struct InvertibleBloomFilter *ibf, | |||
504 | store = store | byte_read; | 504 | store = store | byte_read; |
505 | } | 505 | } |
506 | break; | 506 | break; |
507 | |||
508 | } | 507 | } |
509 | |||
510 | } | 508 | } |
511 | |||
512 | } | 509 | } |
513 | |||
514 | } | 510 | } |
515 | 511 | ||
516 | 512 | ||