From c559c5b8150d271d9897fa26b6d9b181cb1859d3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 22 Jan 2017 15:21:42 +0100 Subject: [PATCH] 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); -- 2.25.1