diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-14 23:44:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-14 23:44:22 +0000 |
commit | 720afac61536fbb212c0010f31764704c12aab0f (patch) | |
tree | 323e2147f8c13f27c5699e237d08649a2f6242d3 /src/gns/gnunet-service-gns.c | |
parent | b633941315e126aed01437fb56bcc8dfb64908b1 (diff) | |
download | gnunet-720afac61536fbb212c0010f31764704c12aab0f.tar.gz gnunet-720afac61536fbb212c0010f31764704c12aab0f.zip |
-fixing misc seaspider parser errors
Diffstat (limited to 'src/gns/gnunet-service-gns.c')
-rw-r--r-- | src/gns/gnunet-service-gns.c | 11 |
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 | */ |
149 | static int num_public_records = 0; | 149 | static int num_public_records; |
150 | 150 | ||
151 | /** | 151 | /** |
152 | * update interval in seconds | 152 | * update interval in seconds |
153 | */ | 153 | */ |
154 | static unsigned long long int max_record_put_interval; | 154 | static unsigned long long max_record_put_interval; |
155 | 155 | ||
156 | static unsigned long long int dht_max_update_interval; | 156 | static unsigned long long dht_max_update_interval; |
157 | 157 | ||
158 | /* dht update interval FIXME define? */ | 158 | /* dht update interval FIXME define? */ |
159 | static struct GNUNET_TIME_Relative record_put_interval; | 159 | static struct GNUNET_TIME_Relative record_put_interval; |
@@ -383,10 +383,9 @@ put_gns_record(void *cls, | |||
383 | static void | 383 | static void |
384 | update_zone_dht_start(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 384 | update_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 | /** |