From: Schanzenbach, Martin Date: Thu, 13 Feb 2020 06:59:22 +0000 (+0100) Subject: fix logic for nick X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aa26736c4f7ef2edf1725034228749adbf75e9dd;p=oweals%2Fgnunet.git fix logic for nick --- diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index b3dd5470b..f442e4018 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c @@ -2245,7 +2245,7 @@ handle_gns_resolution_result (void *cls, case GNUNET_GNSRECORD_TYPE_NICK: /* ignore unless specifically requested */ - if (GNUNET_GNSRECORD_TYPE_NICK == rh->record_type) + 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;