diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-22 15:21:42 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-22 15:21:42 +0100 |
commit | c559c5b8150d271d9897fa26b6d9b181cb1859d3 (patch) | |
tree | 51cc925bfc2c309f1c123dd107baa8fef9192dcf /src | |
parent | 0e9db527b0b85899af6d3dbb68899a8fef356dfe (diff) | |
download | gnunet-c559c5b8150d271d9897fa26b6d9b181cb1859d3.tar.gz gnunet-c559c5b8150d271d9897fa26b6d9b181cb1859d3.zip |
nicer order of LOG statements
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_core.c | 7 |
1 files 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, | |||
468 | return; | 468 | return; |
469 | } | 469 | } |
470 | 470 | ||
471 | path = GCPP_get_path_from_route (path_length - 1, | ||
472 | pids); | ||
473 | origin = GCP_get (&pids[0], | 471 | origin = GCP_get (&pids[0], |
474 | GNUNET_YES); | 472 | GNUNET_YES); |
475 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 473 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
476 | "Received CREATE message from %s via path %s for connection %s\n", | 474 | "Received CREATE message from %s for connection %s, building inverse path\n", |
477 | GCP_2s (origin), | 475 | GCP_2s (origin), |
478 | GCPP_2s (path), | ||
479 | GNUNET_sh2s (&msg->cid.connection_of_tunnel)); | 476 | GNUNET_sh2s (&msg->cid.connection_of_tunnel)); |
477 | path = GCPP_get_path_from_route (path_length - 1, | ||
478 | pids); | ||
480 | GCT_add_inbound_connection (GCT_create_tunnel (origin), | 479 | GCT_add_inbound_connection (GCT_create_tunnel (origin), |
481 | &msg->cid, | 480 | &msg->cid, |
482 | path); | 481 | path); |