aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-01-30 08:34:34 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-01-30 08:34:34 +0000
commit335fc575c8bb19428507ea218fb0ff68d970a46c (patch)
treeb141b94a1479acfe846820ab15304ce63aeb8856 /src/transport/plugin_transport_tcp.c
parente0cfe992b54f05a9083127b087bd1af5ddd1f633 (diff)
downloadgnunet-335fc575c8bb19428507ea218fb0ff68d970a46c.tar.gz
gnunet-335fc575c8bb19428507ea218fb0ff68d970a46c.zip
- debug msgs
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c6
1 files changed, 3 insertions, 3 deletions
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,
1402#if DEBUG_TCP_NAT 1402#if DEBUG_TCP_NAT
1403 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp", 1403 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp",
1404 "Created NAT WAIT connection to `%4s' at `%s'\n", 1404 "Created NAT WAIT connection to `%4s' at `%s'\n",
1405 GNUNET_i2s (&address->peer), GNUNET_a2s (sb, sbs)); 1405 GNUNET_i2s (&session->target), GNUNET_a2s (sb, sbs));
1406#endif 1406#endif
1407 GNUNET_NAT_run_client (plugin->nat, &a4); 1407 GNUNET_NAT_run_client (plugin->nat, &a4);
1408 return session; 1408 return session;
@@ -1416,7 +1416,7 @@ tcp_plugin_get_session (void *cls,
1416#if DEBUG_TCP 1416#if DEBUG_TCP
1417 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp", 1417 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp",
1418 "Failed to create connection to `%4s' at `%s'\n", 1418 "Failed to create connection to `%4s' at `%s'\n",
1419 GNUNET_i2s (&address->peer), GNUNET_a2s (sb, sbs)); 1419 GNUNET_i2s (&session->target), GNUNET_a2s (sb, sbs));
1420#endif 1420#endif
1421 return NULL; 1421 return NULL;
1422 } 1422 }
@@ -1424,7 +1424,7 @@ tcp_plugin_get_session (void *cls,
1424#if DEBUG_TCP_NAT 1424#if DEBUG_TCP_NAT
1425 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp", 1425 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp",
1426 "Asked to transmit to `%4s', creating fresh session using address `%s'.\n", 1426 "Asked to transmit to `%4s', creating fresh session using address `%s'.\n",
1427 GNUNET_i2s (&address->peer), GNUNET_a2s (sb, sbs)); 1427 GNUNET_i2s (&session->target), GNUNET_a2s (sb, sbs));
1428#endif 1428#endif
1429 session = create_session (plugin, 1429 session = create_session (plugin,
1430 &address->peer, 1430 &address->peer,