From aa26736c4f7ef2edf1725034228749adbf75e9dd Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Thu, 13 Feb 2020 07:59:22 +0100 Subject: [PATCH] fix logic for nick --- src/gns/gnunet-service-gns_resolver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1