From: Christian Grothoff Date: Sun, 29 Sep 2013 16:35:46 +0000 (+0000) Subject: -more logging X-Git-Tag: initial-import-from-subversion-38251~6965 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7516bb6f9975cb65a8e575e63c4975263bc88d53;p=oweals%2Fgnunet.git -more logging --- diff --git a/src/gns/gnunet-service-gns_shorten.c b/src/gns/gnunet-service-gns_shorten.c index b539dc651..a970c1d85 100644 --- a/src/gns/gnunet-service-gns_shorten.c +++ b/src/gns/gnunet-service-gns_shorten.c @@ -517,12 +517,17 @@ GNS_shorten_start (const char *original_label, const struct GNUNET_CRYPTO_EccPrivateKey *shorten_zone) { struct GetPseuAuthorityHandle *gph; - + + // if (1) return; if (strlen (original_label) > GNUNET_DNSPARSER_MAX_LABEL_LENGTH) { GNUNET_break (0); return; } + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Starting shortening process for `%s' with old label `%s'\n", + GNUNET_NAMESTORE_z2s (pub), + original_label); gph = GNUNET_new (struct GetPseuAuthorityHandle); gph->shorten_zone_key = *shorten_zone; gph->target_zone = *pub;