gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: NAMESTORE: Do not display label for TOMB


From: gnunet
Subject: [gnunet] branch master updated: NAMESTORE: Do not display label for TOMBSTONE only record sets
Date: Thu, 03 Mar 2022 21:34:13 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 0f0ff3785 NAMESTORE: Do not display label for TOMBSTONE only record 
sets
0f0ff3785 is described below

commit 0f0ff3785913d266d667aef851b504bb3997c87f
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Thu Mar 3 21:34:09 2022 +0100

    NAMESTORE: Do not display label for TOMBSTONE only record sets
---
 src/namestore/gnunet-namestore.c | 2 ++
 1 file changed, 2 insertions(+)

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;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]