aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-04-17 11:54:14 +0200
committerChristian Grothoff <christian@grothoff.org>2018-04-17 11:54:14 +0200
commit64a7c356b391016be0aa01bc25c237f59fc03a34 (patch)
tree4325faf7b05a68f631d62c059e0f7d3f923df59e /src/gns
parenta5335a605ba2a07936a6241b7d03793596c1255b (diff)
downloadgnunet-64a7c356b391016be0aa01bc25c237f59fc03a34.tar.gz
gnunet-64a7c356b391016be0aa01bc25c237f59fc03a34.zip
fix record type used
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/gnunet-service-gns_resolver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c
index 7fbe3a410..d0edb82e5 100644
--- a/src/gns/gnunet-service-gns_resolver.c
+++ b/src/gns/gnunet-service-gns_resolver.c
@@ -2313,10 +2313,6 @@ handle_namecache_block_response (void *cls,
2313 return; 2313 return;
2314 } 2314 }
2315 2315
2316 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
2317 "Received result from namecache for label `%s'\n",
2318 ac->label);
2319
2320 if ( (NULL == block) || 2316 if ( (NULL == block) ||
2321 (0 == GNUNET_TIME_absolute_get_remaining (GNUNET_TIME_absolute_ntoh (block->expiration_time)).rel_value_us) ) 2317 (0 == GNUNET_TIME_absolute_get_remaining (GNUNET_TIME_absolute_ntoh (block->expiration_time)).rel_value_us) )
2322 { 2318 {
@@ -2329,6 +2325,10 @@ handle_namecache_block_response (void *cls,
2329 GNS_resolver_lookup_cancel (rh); 2325 GNS_resolver_lookup_cancel (rh);
2330 return; 2326 return;
2331 } 2327 }
2328 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
2329 "Received result from namecache for label `%s'\n",
2330 ac->label);
2331
2332 if (GNUNET_OK != 2332 if (GNUNET_OK !=
2333 GNUNET_GNSRECORD_block_decrypt (block, 2333 GNUNET_GNSRECORD_block_decrypt (block,
2334 auth, 2334 auth,