diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-03-03 21:34:09 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-03-03 21:34:09 +0100 |
commit | 0f0ff3785913d266d667aef851b504bb3997c87f (patch) | |
tree | 70fdae8e982e3bc5ed4b149a5b003df3c8ec7f5d | |
parent | 64598c8fe7b2179ba69060148004a24e38c13e2d (diff) | |
download | gnunet-0f0ff3785913d266d667aef851b504bb3997c87f.tar.gz gnunet-0f0ff3785913d266d667aef851b504bb3997c87f.zip |
NAMESTORE: Do not display label for TOMBSTONE only record sets
-rw-r--r-- | src/namestore/gnunet-namestore.c | 2 |
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, | |||
430 | if ((GNUNET_GNSRECORD_TYPE_NICK == rd[i].record_type) && | 430 | if ((GNUNET_GNSRECORD_TYPE_NICK == rd[i].record_type) && |
431 | (0 != strcmp (rname, GNUNET_GNS_EMPTY_LABEL_AT))) | 431 | (0 != strcmp (rname, GNUNET_GNS_EMPTY_LABEL_AT))) |
432 | continue; | 432 | continue; |
433 | if (GNUNET_GNSRECORD_TYPE_TOMBSTONE == rd[i].record_type) | ||
434 | continue; | ||
433 | if ((type != rd[i].record_type) && (GNUNET_GNSRECORD_TYPE_ANY != type)) | 435 | if ((type != rd[i].record_type) && (GNUNET_GNSRECORD_TYPE_ANY != type)) |
434 | continue; | 436 | continue; |
435 | have_record = GNUNET_YES; | 437 | have_record = GNUNET_YES; |