diff options
Diffstat (limited to 'src/zonemaster/gnunet-service-zonemaster-monitor.c')
-rw-r--r-- | src/zonemaster/gnunet-service-zonemaster-monitor.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/zonemaster/gnunet-service-zonemaster-monitor.c b/src/zonemaster/gnunet-service-zonemaster-monitor.c index a0c178511..46feb117f 100644 --- a/src/zonemaster/gnunet-service-zonemaster-monitor.c +++ b/src/zonemaster/gnunet-service-zonemaster-monitor.c | |||
@@ -235,8 +235,7 @@ convert_records_for_export (const struct GNUNET_GNSRECORD_Data *rd, | |||
235 | * @param label label to store under | 235 | * @param label label to store under |
236 | * @param rd_public public record data | 236 | * @param rd_public public record data |
237 | * @param rd_public_count number of records in @a rd_public | 237 | * @param rd_public_count number of records in @a rd_public |
238 | * @param cont function to call with PUT result | 238 | * @param ma handle for the PUT operation |
239 | * @param cont_cls closure for @a cont | ||
240 | * @return DHT PUT handle, NULL on error | 239 | * @return DHT PUT handle, NULL on error |
241 | */ | 240 | */ |
242 | static struct GNUNET_DHT_PutHandle * | 241 | static struct GNUNET_DHT_PutHandle * |
@@ -244,8 +243,7 @@ perform_dht_put (const struct GNUNET_CRYPTO_EcdsaPrivateKey *key, | |||
244 | const char *label, | 243 | const char *label, |
245 | const struct GNUNET_GNSRECORD_Data *rd_public, | 244 | const struct GNUNET_GNSRECORD_Data *rd_public, |
246 | unsigned int rd_public_count, | 245 | unsigned int rd_public_count, |
247 | GNUNET_SCHEDULER_TaskCallback cont, | 246 | struct DhtPutActivity *ma) |
248 | void *cont_cls) | ||
249 | { | 247 | { |
250 | struct GNUNET_GNSRECORD_Block *block; | 248 | struct GNUNET_GNSRECORD_Block *block; |
251 | struct GNUNET_HashCode query; | 249 | struct GNUNET_HashCode query; |
@@ -296,8 +294,8 @@ perform_dht_put (const struct GNUNET_CRYPTO_EcdsaPrivateKey *key, | |||
296 | block_size, | 294 | block_size, |
297 | block, | 295 | block, |
298 | expire, | 296 | expire, |
299 | cont, | 297 | &dht_put_monitor_continuation, |
300 | cont_cls); | 298 | ma); |
301 | GNUNET_free (block); | 299 | GNUNET_free (block); |
302 | return ret; | 300 | return ret; |
303 | } | 301 | } |
@@ -350,7 +348,6 @@ handle_monitor_event (void *cls, | |||
350 | label, | 348 | label, |
351 | rd, | 349 | rd, |
352 | rd_count, | 350 | rd_count, |
353 | &dht_put_monitor_continuation, | ||
354 | ma); | 351 | ma); |
355 | if (NULL == ma->ph) | 352 | if (NULL == ma->ph) |
356 | { | 353 | { |