label,
rd_public,
rd_public_count);
+ if (NULL == block)
+ return NULL; /* whoops */
block_size = ntohl (block->purpose.size)
+ sizeof (struct GNUNET_CRYPTO_EcdsaSignature)
+ sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey);
label,
&query);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Storing record in DHT with expiration `%s' under key %s\n",
+ "Storing %u record(s) for label `%s' in DHT with expiration `%s' under key %s\n",
+ rd_public_count,
+ label,
GNUNET_STRINGS_absolute_time_to_string (expire),
GNUNET_h2s (&query));
ret = GNUNET_DHT_put (dht_handle, &query,
ntohl (sh_msg->type),
name,
key,
- ntohl (sh_msg->only_cached),
+ (enum GNUNET_GNS_LocalOptions) ntohs (sh_msg->options),
&send_lookup_response, clh);
GNUNET_STATISTICS_update (statistics,
"Lookup attempts",