diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-22 13:49:09 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-22 13:49:09 +0100 |
commit | b060a5f475354b9537e4b5985cffad52296625bd (patch) | |
tree | f368f60f65f6ff15562e39cd8b2a2e028b21bac9 /src/dht | |
parent | 32610d5d9238ab3f31f8fc6494d9cc0b5d18d290 (diff) | |
download | gnunet-b060a5f475354b9537e4b5985cffad52296625bd.tar.gz gnunet-b060a5f475354b9537e4b5985cffad52296625bd.zip |
fix type
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/test_dht_monitor.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dht/test_dht_monitor.c b/src/dht/test_dht_monitor.c index a175890f0..3de800144 100644 --- a/src/dht/test_dht_monitor.c +++ b/src/dht/test_dht_monitor.c | |||
@@ -107,12 +107,12 @@ static unsigned int monitor_counter; | |||
107 | * Terminates active get operations and shuts down | 107 | * Terminates active get operations and shuts down |
108 | * the testbed. | 108 | * the testbed. |
109 | * | 109 | * |
110 | * @param cls the `struct GNUNET_DHT_TestContext` | 110 | * @param cls the `struct GNUNET_DHT_TEST_Context` |
111 | */ | 111 | */ |
112 | static void | 112 | static void |
113 | shutdown_task (void *cls) | 113 | shutdown_task (void *cls) |
114 | { | 114 | { |
115 | struct GNUNET_DHT_TestContext *ctx = cls; | 115 | struct GNUNET_DHT_TEST_Context *ctx = cls; |
116 | unsigned int i; | 116 | unsigned int i; |
117 | struct GetOperation *get_op; | 117 | struct GetOperation *get_op; |
118 | 118 | ||
@@ -183,7 +183,6 @@ dht_get_handler (void *cls, struct GNUNET_TIME_Absolute exp, | |||
183 | { | 183 | { |
184 | struct GetOperation *get_op = cls; | 184 | struct GetOperation *get_op = cls; |
185 | struct GNUNET_HashCode want; | 185 | struct GNUNET_HashCode want; |
186 | struct GNUNET_DHT_TestContext *ctx; | ||
187 | 186 | ||
188 | if (sizeof (struct GNUNET_HashCode) != size) | 187 | if (sizeof (struct GNUNET_HashCode) != size) |
189 | { | 188 | { |