summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-03-03 21:34:09 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2022-03-03 21:34:09 +0100
commit0f0ff3785913d266d667aef851b504bb3997c87f (patch)
tree70fdae8e982e3bc5ed4b149a5b003df3c8ec7f5d
parent64598c8fe7b2179ba69060148004a24e38c13e2d (diff)
NAMESTORE: Do not display label for TOMBSTONE only record sets
-rw-r--r--src/namestore/gnunet-namestore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c
index d84d1ff48..40872ca8e 100644
--- a/src/namestore/gnunet-namestore.c
+++ b/src/namestore/gnunet-namestore.c
@@ -430,6 +430,8 @@ display_record (const char *rname,
if ((GNUNET_GNSRECORD_TYPE_NICK == rd[i].record_type) &&
(0 != strcmp (rname, GNUNET_GNS_EMPTY_LABEL_AT)))
continue;
+ if (GNUNET_GNSRECORD_TYPE_TOMBSTONE == rd[i].record_type)
+ continue;
if ((type != rd[i].record_type) && (GNUNET_GNSRECORD_TYPE_ANY != type))
continue;
have_record = GNUNET_YES;