From: Schanzenbach, Martin Date: Wed, 12 Feb 2020 22:09:03 +0000 (+0100) Subject: resolve nick if specifically requested X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=206866779353de518a47712d5de6082cdcb3af2e;p=oweals%2Fgnunet.git resolve nick if specifically requested --- diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index 735742283..b3dd5470b 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c @@ -2244,7 +2244,13 @@ handle_gns_resolution_result (void *cls, break; case GNUNET_GNSRECORD_TYPE_NICK: - /* ignore */ + /* ignore unless specifically requested */ + if (GNUNET_GNSRECORD_TYPE_NICK == rh->record_type) + { + 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: