diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-09-14 09:50:00 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-09-14 09:50:00 +0000 |
commit | 510949dfda8be43a9b7b15e82a0aa61ecadf02e4 (patch) | |
tree | 0808c95f9929a1b72796c8f3900dbb9d152cb46c /src | |
parent | bcbd694ad35e182e5a1486b545ea0706082ee94a (diff) | |
download | gnunet-510949dfda8be43a9b7b15e82a0aa61ecadf02e4.tar.gz gnunet-510949dfda8be43a9b7b15e82a0aa61ecadf02e4.zip |
-test
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index 0287acb58..846b4db5b 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c | |||
@@ -2331,10 +2331,10 @@ process_delegation_result_dht(void* cls, | |||
2331 | GNUNET_CRYPTO_hash_xor(key, &name_hash_double, &zone_hash_double); | 2331 | GNUNET_CRYPTO_hash_xor(key, &name_hash_double, &zone_hash_double); |
2332 | GNUNET_CRYPTO_short_hash_from_truncation (&zone_hash_double, &zone); | 2332 | GNUNET_CRYPTO_short_hash_from_truncation (&zone_hash_double, &zone); |
2333 | 2333 | ||
2334 | /* Save to namestore */ | 2334 | /* Save to namestore |
2335 | if (0 != GNUNET_CRYPTO_short_hash_cmp(&rh->authority_chain_head->zone, | 2335 | if (0 != GNUNET_CRYPTO_short_hash_cmp(&rh->authority_chain_head->zone, |
2336 | &zone)) | 2336 | &zone)) |
2337 | { | 2337 | {*/ |
2338 | if (max_allowed_ns_tasks <= | 2338 | if (max_allowed_ns_tasks <= |
2339 | GNUNET_CONTAINER_heap_get_size (ns_task_heap)) | 2339 | GNUNET_CONTAINER_heap_get_size (ns_task_heap)) |
2340 | { | 2340 | { |
@@ -2342,11 +2342,11 @@ process_delegation_result_dht(void* cls, | |||
2342 | GNUNET_NAMESTORE_cancel (ns_heap_root->qe); | 2342 | GNUNET_NAMESTORE_cancel (ns_heap_root->qe); |
2343 | 2343 | ||
2344 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, | 2344 | GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, |
2345 | "GNS_PHASE_REC-%llu: Replacing oldest background ns task\n", | 2345 | "GNS_PHASE_DELEGATE_DHT-%llu: Replacing oldest background ns task\n", |
2346 | rh->id); | 2346 | rh->id); |
2347 | } | 2347 | } |
2348 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2348 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2349 | "GNS_PHASE_REC-%llu: Caching record for %s\n", | 2349 | "GNS_PHASE_DELEGATE_DHT-%llu: Caching record for %s\n", |
2350 | rh->id, name); | 2350 | rh->id, name); |
2351 | namestore_bg_task = GNUNET_malloc (sizeof (struct NamestoreBGTask)); | 2351 | namestore_bg_task = GNUNET_malloc (sizeof (struct NamestoreBGTask)); |
2352 | 2352 | ||
@@ -2363,7 +2363,7 @@ process_delegation_result_dht(void* cls, | |||
2363 | &on_namestore_delegation_put_result, //cont | 2363 | &on_namestore_delegation_put_result, //cont |
2364 | namestore_bg_task); //cls | 2364 | namestore_bg_task); //cls |
2365 | } | 2365 | } |
2366 | } | 2366 | //} |
2367 | 2367 | ||
2368 | if (0 != rh->answered) | 2368 | if (0 != rh->answered) |
2369 | { | 2369 | { |