From 7516bb6f9975cb65a8e575e63c4975263bc88d53 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 29 Sep 2013 16:35:46 +0000 Subject: [PATCH] -more logging --- src/gns/gnunet-service-gns_shorten.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; -- 2.25.1