diff options
Diffstat (limited to 'src/namestore/gnunet-service-namestore.c')
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index 101f2bd45..2286abecc 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c | |||
@@ -922,7 +922,7 @@ continue_store_activity (struct StoreActivity *sa) | |||
922 | sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) ) | 922 | sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) ) |
923 | { | 923 | { |
924 | sa->zm_pos = zm->next; /* not interesting to this monitor */ | 924 | sa->zm_pos = zm->next; /* not interesting to this monitor */ |
925 | // continue; -- fails tests, but why not here? | 925 | continue; // -- fails tests, but why not here? |
926 | } | 926 | } |
927 | if (zm->limit == zm->iteration_cnt) | 927 | if (zm->limit == zm->iteration_cnt) |
928 | { | 928 | { |
@@ -1980,23 +1980,9 @@ monitor_iterate_cb (void *cls, | |||
1980 | { | 1980 | { |
1981 | struct ZoneMonitor *zm = cls; | 1981 | struct ZoneMonitor *zm = cls; |
1982 | 1982 | ||
1983 | if ( (0 != memcmp (&zone_key, | ||
1984 | &zm->zone, | ||
1985 | sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) && | ||
1986 | (0 != memcmp (&zm->zone, | ||
1987 | &zero, | ||
1988 | sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) ) | ||
1989 | { | ||
1990 | GNUNET_break (0); | ||
1991 | return; | ||
1992 | } | ||
1993 | zm->seq = seq; | 1983 | zm->seq = seq; |
1994 | if (NULL == name) | 1984 | GNUNET_assert (NULL != name); |
1995 | { | 1985 | GNUNET_assert (zone_key == &zm->zone); |
1996 | /* finished with iteration */ | ||
1997 | monitor_sync (zm); | ||
1998 | return; | ||
1999 | } | ||
2000 | GNUNET_STATISTICS_update (statistics, | 1986 | GNUNET_STATISTICS_update (statistics, |
2001 | "Monitor notifications sent", | 1987 | "Monitor notifications sent", |
2002 | 1, | 1988 | 1, |