gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: resolve nick if specifically requested


From: gnunet
Subject: [gnunet] branch master updated: resolve nick if specifically requested
Date: Wed, 12 Feb 2020 23:12:59 +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 206866779 resolve nick if specifically requested
206866779 is described below

commit 206866779353de518a47712d5de6082cdcb3af2e
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Wed Feb 12 23:09:03 2020 +0100

    resolve nick if specifically requested
---
 src/gns/gnunet-service-gns_resolver.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/gns/gnunet-service-gns_resolver.c 
b/src/gns/gnunet-service-gns_resolver.c
index 735742283..b3dd5470b 100644
--- a/src/gns/gnunet-service-gns_resolver.c
+++ b/src/gns/gnunet-service-gns_resolver.c
@@ -2244,7 +2244,13 @@ handle_gns_resolution_result (void *cls,
         break;
 
       case GNUNET_GNSRECORD_TYPE_NICK:
-        /* ignore */
+        /* ignore unless specifically requested */
+        if (GNUNET_GNSRECORD_TYPE_NICK == rh->record_type)
+        {
+          rd_new[rd_off].data = rd[i].data;
+          rd_new[rd_off].data_size = rd[i].data_size;
+          rd_off++;
+        }
         break;
 
       case GNUNET_GNSRECORD_TYPE_PKEY:

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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