Merge branch 'master' of ssh://gnunet.org/gnunet
[oweals/gnunet.git] / src / dht / test_dht_monitor.c
index a175890f025b4bfe5b4bbfc5d82dc341aaf886ee..3de8001448a0ea6b4f3a1a77fe5460bd951bfcb4 100644 (file)
@@ -107,12 +107,12 @@ static unsigned int monitor_counter;
  * Terminates active get operations and shuts down
  * the testbed.
  *
- * @param cls the `struct GNUNET_DHT_TestContext`
+ * @param cls the `struct GNUNET_DHT_TEST_Context`
  */
 static void
 shutdown_task (void *cls)
 {
-  struct GNUNET_DHT_TestContext *ctx = cls;
+  struct GNUNET_DHT_TEST_Context *ctx = cls;
   unsigned int i;
   struct GetOperation *get_op;
 
@@ -183,7 +183,6 @@ dht_get_handler (void *cls, struct GNUNET_TIME_Absolute exp,
 {
   struct GetOperation *get_op = cls;
   struct GNUNET_HashCode want;
-  struct GNUNET_DHT_TestContext *ctx;
 
   if (sizeof (struct GNUNET_HashCode) != size)
   {