From: Matthias Wachs Date: Mon, 30 Jan 2012 08:34:34 +0000 (+0000) Subject: - debug msgs X-Git-Tag: initial-import-from-subversion-38251~15010 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=335fc575c8bb19428507ea218fb0ff68d970a46c;p=oweals%2Fgnunet.git - debug msgs --- diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 71e79e33c..6ee14d026 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -1402,7 +1402,7 @@ tcp_plugin_get_session (void *cls, #if DEBUG_TCP_NAT GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp", "Created NAT WAIT connection to `%4s' at `%s'\n", - GNUNET_i2s (&address->peer), GNUNET_a2s (sb, sbs)); + GNUNET_i2s (&session->target), GNUNET_a2s (sb, sbs)); #endif GNUNET_NAT_run_client (plugin->nat, &a4); return session; @@ -1416,7 +1416,7 @@ tcp_plugin_get_session (void *cls, #if DEBUG_TCP GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp", "Failed to create connection to `%4s' at `%s'\n", - GNUNET_i2s (&address->peer), GNUNET_a2s (sb, sbs)); + GNUNET_i2s (&session->target), GNUNET_a2s (sb, sbs)); #endif return NULL; } @@ -1424,7 +1424,7 @@ tcp_plugin_get_session (void *cls, #if DEBUG_TCP_NAT GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp", "Asked to transmit to `%4s', creating fresh session using address `%s'.\n", - GNUNET_i2s (&address->peer), GNUNET_a2s (sb, sbs)); + GNUNET_i2s (&session->target), GNUNET_a2s (sb, sbs)); #endif session = create_session (plugin, &address->peer,