gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 16/19: nicer order of LOG statements


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 16/19: nicer order of LOG statements
Date: Sun, 22 Jan 2017 15:23:57 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

commit c559c5b8150d271d9897fa26b6d9b181cb1859d3
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Jan 22 15:21:42 2017 +0100

    nicer order of LOG statements
---
 src/cadet/gnunet-service-cadet-new_core.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/cadet/gnunet-service-cadet-new_core.c 
b/src/cadet/gnunet-service-cadet-new_core.c
index 6b5a02dc1..7cff68f4a 100644
--- a/src/cadet/gnunet-service-cadet-new_core.c
+++ b/src/cadet/gnunet-service-cadet-new_core.c
@@ -468,15 +468,14 @@ handle_connection_create (void *cls,
       return;
     }
 
-    path = GCPP_get_path_from_route (path_length - 1,
-                                     pids);
     origin = GCP_get (&pids[0],
                       GNUNET_YES);
     LOG (GNUNET_ERROR_TYPE_DEBUG,
-         "Received CREATE message from %s via path %s for connection %s\n",
+         "Received CREATE message from %s for connection %s, building inverse 
path\n",
          GCP_2s (origin),
-         GCPP_2s (path),
          GNUNET_sh2s (&msg->cid.connection_of_tunnel));
+    path = GCPP_get_path_from_route (path_length - 1,
+                                     pids);
     GCT_add_inbound_connection (GCT_create_tunnel (origin),
                                 &msg->cid,
                                 path);

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



reply via email to

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