aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_dht.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-23 16:30:45 +0000
committerChristian Grothoff <christian@grothoff.org>2016-06-23 16:30:45 +0000
commit021e5d47b4ac2fd2088cee65e551fd7e6114e99b (patch)
tree703829ff172d75f5417e42041ed4694a53d10e71 /src/cadet/gnunet-service-cadet_dht.c
parentc1bac2613d2e7915ab23c3675918aa839514bd97 (diff)
downloadgnunet-021e5d47b4ac2fd2088cee65e551fd7e6114e99b.tar.gz
gnunet-021e5d47b4ac2fd2088cee65e551fd7e6114e99b.zip
convert DHT API to new MQ API
Diffstat (limited to 'src/cadet/gnunet-service-cadet_dht.c')
-rw-r--r--src/cadet/gnunet-service-cadet_dht.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_dht.c b/src/cadet/gnunet-service-cadet_dht.c
index 88a601b52..da9bf7604 100644
--- a/src/cadet/gnunet-service-cadet_dht.c
+++ b/src/cadet/gnunet-service-cadet_dht.c
@@ -214,7 +214,6 @@ announce_id (void *cls)
214 const struct GNUNET_HELLO_Message *hello; 214 const struct GNUNET_HELLO_Message *hello;
215 size_t size; 215 size_t size;
216 struct GNUNET_TIME_Absolute expiration; 216 struct GNUNET_TIME_Absolute expiration;
217 struct GNUNET_TIME_Relative retry_time;
218 217
219 announce_id_task = NULL; 218 announce_id_task = NULL;
220 LOG (GNUNET_ERROR_TYPE_DEBUG, "Announce ID\n"); 219 LOG (GNUNET_ERROR_TYPE_DEBUG, "Announce ID\n");
@@ -235,7 +234,6 @@ announce_id (void *cls)
235 return; 234 return;
236 } 235 }
237 expiration = GNUNET_HELLO_get_last_expiration (hello); 236 expiration = GNUNET_HELLO_get_last_expiration (hello);
238 retry_time = GNUNET_TIME_absolute_get_remaining (expiration);
239 237
240 LOG (GNUNET_ERROR_TYPE_DEBUG, "Hello %p size: %u\n", hello, size); 238 LOG (GNUNET_ERROR_TYPE_DEBUG, "Hello %p size: %u\n", hello, size);
241 GNUNET_STATISTICS_update (stats, "# DHT announce", 239 GNUNET_STATISTICS_update (stats, "# DHT announce",
@@ -251,7 +249,6 @@ announce_id (void *cls)
251 size, /* Size of the data */ 249 size, /* Size of the data */
252 (const char *) hello, /* Data itself */ 250 (const char *) hello, /* Data itself */
253 expiration, /* Data expiration */ 251 expiration, /* Data expiration */
254 retry_time, /* Retry time */
255 NULL, /* Continuation */ 252 NULL, /* Continuation */
256 NULL); /* Continuation closure */ 253 NULL); /* Continuation closure */
257 announce_id_task = 254 announce_id_task =