diff options
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/plugin_namestore_flat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/plugin_namestore_flat.c b/src/namestore/plugin_namestore_flat.c index c464d4e68..35d8424b4 100644 --- a/src/namestore/plugin_namestore_flat.c +++ b/src/namestore/plugin_namestore_flat.c | |||
@@ -573,7 +573,6 @@ iterate_zones (void *cls, | |||
573 | struct FlatFileEntry *entry = value; | 573 | struct FlatFileEntry *entry = value; |
574 | 574 | ||
575 | (void) key; | 575 | (void) key; |
576 | ic->pos++; | ||
577 | if (0 == ic->limit) | 576 | if (0 == ic->limit) |
578 | return GNUNET_NO; | 577 | return GNUNET_NO; |
579 | if ( (NULL != ic->zone) && | 578 | if ( (NULL != ic->zone) && |
@@ -581,6 +580,7 @@ iterate_zones (void *cls, | |||
581 | ic->zone, | 580 | ic->zone, |
582 | sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) ) | 581 | sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) ) |
583 | return GNUNET_YES; | 582 | return GNUNET_YES; |
583 | ic->pos++; | ||
584 | if (ic->offset > 0) | 584 | if (ic->offset > 0) |
585 | { | 585 | { |
586 | ic->offset--; | 586 | ic->offset--; |