From: Martin Schanzenbach Date: Wed, 4 Jul 2012 10:01:17 +0000 (+0000) Subject: -do not shorten in bg lookup X-Git-Tag: initial-import-from-subversion-38251~12661 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d4d4d1fa2ee6cbb6655c984fa35a932b59f31f39;p=oweals%2Fgnunet.git -do not shorten in bg lookup --- diff --git a/src/gns/gnunet-service-gns.c b/src/gns/gnunet-service-gns.c index 136d33884..f4e7b4458 100644 --- a/src/gns/gnunet-service-gns.c +++ b/src/gns/gnunet-service-gns.c @@ -439,8 +439,6 @@ put_gns_record(void *cls, GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "DHT req to %d\n", DHT_OPERATION_TIMEOUT.rel_value); - GNUNET_STATISTICS_update (statistics, - "Records put into DHT", rd_count, GNUNET_NO); GNUNET_STATISTICS_update (statistics, "Record bytes put into DHT", rd_payload_length, GNUNET_NO); diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index b2be8811d..587bafa57 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c @@ -1097,7 +1097,7 @@ dht_lookup_timeout(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) rh->private_local_zone, rlh->record_type, new_name, - rh->priv_key, + NULL, GNUNET_TIME_UNIT_FOREVER_REL, GNUNET_NO, &background_lookup_result_processor, @@ -2176,7 +2176,7 @@ dht_authority_lookup_timeout(void *cls, rh->private_local_zone, rlh->record_type, new_name, - rh->priv_key, + NULL, GNUNET_TIME_UNIT_FOREVER_REL, GNUNET_NO, &background_lookup_result_processor,