-do not shorten in bg lookup
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 4 Jul 2012 10:01:17 +0000 (10:01 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Wed, 4 Jul 2012 10:01:17 +0000 (10:01 +0000)
src/gns/gnunet-service-gns.c
src/gns/gnunet-service-gns_resolver.c

index 136d3388499ce91a3a0975139255fc23a8258846..f4e7b445859366e511f8ad0a19cad7e6d991e4cb 100644 (file)
@@ -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);
 
index b2be8811db1f431128e3d1f26e1e934140aac348..587bafa5784c297f1519a3bf80fb9efb5126c837 100644 (file)
@@ -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,