gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: init rung field


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: init rung field
Date: Tue, 31 Jan 2017 13:56:09 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 57fcfd85d init rung field
57fcfd85d is described below

commit 57fcfd85d203f7bc1cf7d5abaa50bed5590edc2f
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Jan 31 13:56:21 2017 +0100

    init rung field
---
 src/cadet/gnunet-service-cadet-new_core.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/cadet/gnunet-service-cadet-new_core.c 
b/src/cadet/gnunet-service-cadet-new_core.c
index 2c050af6d..24b58982d 100644
--- a/src/cadet/gnunet-service-cadet-new_core.c
+++ b/src/cadet/gnunet-service-cadet-new_core.c
@@ -286,7 +286,7 @@ lower_rung (struct RouteDirection *dir)
   GNUNET_CONTAINER_DLL_insert (rung->rd_head,
                                rung->rd_tail,
                                dir);
-
+  dir->rung = rung;
 }
 
 
@@ -438,6 +438,8 @@ route_message (struct CadetPeer *prev,
   GNUNET_CONTAINER_DLL_insert (nxt->rd_head,
                                nxt->rd_tail,
                                dir);
+  dir->rung = nxt;
+
   /* add message into 'dir' buffer */
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Queueing new message of type %u from %s to %s on connection %s\n",

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



reply via email to

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