gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 04/04: Topology: Fixed small bug.


From: gnunet
Subject: [gnunet] 04/04: Topology: Fixed small bug.
Date: Thu, 02 Nov 2023 16:41:26 +0100

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

t3sserakt pushed a commit to branch master
in repository gnunet.

commit 2c71a76aeccac26ebfcf2de232a98b8398cff272
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Thu Nov 2 16:41:12 2023 +0100

    Topology: Fixed small bug.
---
 src/service/topology/gnunet-daemon-topology.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/service/topology/gnunet-daemon-topology.c 
b/src/service/topology/gnunet-daemon-topology.c
index 587f564dd..453ac9661 100644
--- a/src/service/topology/gnunet-daemon-topology.c
+++ b/src/service/topology/gnunet-daemon-topology.c
@@ -648,8 +648,8 @@ address_iterator (void *cls,
 static void
 consider_for_advertising (const struct GNUNET_MessageHeader *hello)
 {
-  int num_addresses_old;
-  int num_addresses_new;
+  int num_addresses_old = 0;
+  int num_addresses_new = 0;
   struct GNUNET_HELLO_Builder *builder = GNUNET_HELLO_builder_from_msg (hello);
   struct GNUNET_PeerIdentity pid;
   struct Peer *peer;

-- 
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]