always return nick records
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Thu, 13 Feb 2020 14:15:18 +0000 (15:15 +0100)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Thu, 13 Feb 2020 14:15:18 +0000 (15:15 +0100)
src/gns/gnunet-service-gns_resolver.c

index f442e401819af161e2034a3c7bbfb6cb9d36fb4d..8b621515d9fe9050970891e730b3d09bca5ff078 100644 (file)
@@ -2243,16 +2243,6 @@ handle_gns_resolution_result (void *cls,
         }
         break;
 
-      case GNUNET_GNSRECORD_TYPE_NICK:
-        /* ignore unless specifically requested */
-        if (0 == strcmp (GNUNET_GNS_EMPTY_LABEL_AT, rh->name))
-        {
-          rd_new[rd_off].data = rd[i].data;
-          rd_new[rd_off].data_size = rd[i].data_size;
-          rd_off++;
-        }
-        break;
-
       case GNUNET_GNSRECORD_TYPE_PKEY:
         {
           struct GNUNET_CRYPTO_EcdsaPublicKey pub;