From: Christian Grothoff Date: Sun, 22 Jan 2017 14:21:42 +0000 (+0100) Subject: nicer order of LOG statements X-Git-Tag: taler-0.2.1~372 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c559c5b8150d271d9897fa26b6d9b181cb1859d3;p=oweals%2Fgnunet.git nicer order of LOG statements --- 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);