summaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r--src/gns/gnunet-service-gns.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c
index 9caa52c26..26a496d4a 100644
--- a/src/gns/gnunet-service-gns.c
+++ b/src/gns/gnunet-service-gns.c
@@ -146,14 +146,14 @@ struct GNUNET_CRYPTO_ShortHashCode zone_hash;
146/** 146/**
147 * Useful for zone update for DHT put 147 * Useful for zone update for DHT put
148 */ 148 */
149static int num_public_records = 0; 149static int num_public_records;
150 150
151/** 151/**
152 * update interval in seconds 152 * update interval in seconds
153 */ 153 */
154static unsigned long long int max_record_put_interval; 154static unsigned long long max_record_put_interval;
155 155
156static unsigned long long int dht_max_update_interval; 156static unsigned long long dht_max_update_interval;
157 157
158/* dht update interval FIXME define? */ 158/* dht update interval FIXME define? */
159static struct GNUNET_TIME_Relative record_put_interval; 159static struct GNUNET_TIME_Relative record_put_interval;
@@ -383,10 +383,9 @@ put_gns_record(void *cls,
383static void 383static void
384update_zone_dht_start(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 384update_zone_dht_start(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
385{ 385{
386 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Scheduling DHT zone update!\n"); 386 unsigned long long interval = 0;
387
388 unsigned long long int interval = 0;
389 387
388 GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Scheduling DHT zone update!\n");
390 if (0 == num_public_records) 389 if (0 == num_public_records)
391 { 390 {
392 /** 391 /**