[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 09/11: Hello: Fix another bug in cli tool to generate contrib h
From: |
gnunet |
Subject: |
[gnunet] 09/11: Hello: Fix another bug in cli tool to generate contrib hello file. |
Date: |
Wed, 18 Oct 2023 15:49:38 +0200 |
This is an automated email from the git hooks/post-receive script.
t3sserakt pushed a commit to branch master
in repository gnunet.
commit e0d28ef927d2e56bd185f5e2685acf8dccdc2826
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Wed Oct 18 14:58:21 2023 +0200
Hello: Fix another bug in cli tool to generate contrib hello file.
---
src/hello/gnunet-hello.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/hello/gnunet-hello.c b/src/hello/gnunet-hello.c
index 501ec8a69..7f43e77b9 100644
--- a/src/hello/gnunet-hello.c
+++ b/src/hello/gnunet-hello.c
@@ -189,7 +189,7 @@ add_to_builder (void *cls,
address->transport_name);
addr = strchr (strchr (pos->api->address_to_string (pos, address,
address->address_length), '.')+1, '.') + 1;
}
- pos = plugins_head->next;
+ pos = pos->next;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
@@ -343,7 +343,7 @@ run (void *cls,
{
char *pids;
- pids = GNUNET_CRYPTO_eddsa_public_key_to_string (&pid.public_key);
+ pids = GNUNET_CRYPTO_eddsa_public_key_to_string (&my_full_id.public_key);
fprintf (stdout, "Processing HELLO for peer `%s'\n", pids);
GNUNET_free (pids);
}
@@ -352,7 +352,7 @@ run (void *cls,
/* &orig, */
/* GNUNET_HELLO_is_friend_only (orig)); */
- builder = GNUNET_HELLO_builder_new (&pid);
+ builder = GNUNET_HELLO_builder_new (&my_full_id);
GNUNET_assert (
NULL ==
GNUNET_HELLO_iterate_addresses ((const struct GNUNET_HELLO_Message *)
orig, GNUNET_NO, &add_to_builder, builder));
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] branch master updated (65dbd214b -> 67362c231), gnunet, 2023/10/18
- [gnunet] 03/11: Hello: Fix bug in cli tool to generate contrib hello file., gnunet, 2023/10/18
- [gnunet] 02/11: Hostlist: Added test config to have a peer running the hostlist server., gnunet, 2023/10/18
- [gnunet] 01/11: Hostlist: Task added to start reading the hostlist entries only after a certain period of time has elapsed., gnunet, 2023/10/18
- [gnunet] 04/11: Hello: Changed signature of method GNUNET_HELLO_builder_get_id, gnunet, 2023/10/18
- [gnunet] 06/11: Hostlist: Changed hostlist server to use a hello cache., gnunet, 2023/10/18
- [gnunet] 10/11: Merge branch 'master' of ssh://git.gnunet.org/gnunet. Undeleted src/hello/gnunet-hello.c, because it is still needed., gnunet, 2023/10/18
- [gnunet] 08/11: TNG: Fixed bug in shared secret handling of udo communicator., gnunet, 2023/10/18
- [gnunet] 07/11: Bootstrap: Fixed bug to not replace hellos for a peer., gnunet, 2023/10/18
- [gnunet] 05/11: Hostlist: Fixed bug in hostlist client., gnunet, 2023/10/18
- [gnunet] 09/11: Hello: Fix another bug in cli tool to generate contrib hello file.,
gnunet <=
- [gnunet] 11/11: Merge branch 'master' of ssh://git.gnunet.org/gnunet, gnunet, 2023/10/18