- debug msgs
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 30 Jan 2012 08:34:34 +0000 (08:34 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 30 Jan 2012 08:34:34 +0000 (08:34 +0000)
src/transport/plugin_transport_tcp.c

index 71e79e33c91ad6f37b8e05ecda080291f0c90086..6ee14d026da4090da0e85018f9d83b88e269f179 100644 (file)
@@ -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,