-more logging
authorChristian Grothoff <christian@grothoff.org>
Sun, 29 Sep 2013 16:35:46 +0000 (16:35 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 29 Sep 2013 16:35:46 +0000 (16:35 +0000)
src/gns/gnunet-service-gns_shorten.c

index b539dc651d39faa2e5a67d1c416492c35a564f57..a970c1d85bbbd7306c3abe5e353666f8099d0ccc 100644 (file)
@@ -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;