aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-01-27 20:50:36 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-01-27 20:50:36 +0000
commitfbd944e17bdd8004bc4672070615743c76d01546 (patch)
tree841df333977d9fe5e72e28871fc9189f9de8a179 /src/transport/plugin_transport_tcp.c
parent0c16bf02e75754148028d92fc495d9328cbe815f (diff)
downloadgnunet-fbd944e17bdd8004bc4672070615743c76d01546.tar.gz
gnunet-fbd944e17bdd8004bc4672070615743c76d01546.zip
- fix
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index a2444504d..71e79e33c 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -1255,7 +1255,7 @@ tcp_plugin_send (void *cls,
1255#if DEBUG_TCP 1255#if DEBUG_TCP
1256 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp", 1256 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, "tcp",
1257 "Asked to transmit %u bytes to `%s', added message to list.\n", 1257 "Asked to transmit %u bytes to `%s', added message to list.\n",
1258 msgbuf_size, GNUNET_i2s (target)); 1258 msgbuf_size, GNUNET_i2s (&session->target));
1259#endif 1259#endif
1260 process_pending_messages (session); 1260 process_pending_messages (session);
1261 return msgbuf_size; 1261 return msgbuf_size;
@@ -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 (target), GNUNET_a2s (sb, sbs)); 1405 GNUNET_i2s (&address->peer), 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 (target), GNUNET_a2s (sb, sbs)); 1419 GNUNET_i2s (&address->peer), 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 (target), GNUNET_a2s (sb, sbs)); 1427 GNUNET_i2s (&address->peer), GNUNET_a2s (sb, sbs));
1428#endif 1428#endif
1429 session = create_session (plugin, 1429 session = create_session (plugin,
1430 &address->peer, 1430 &address->peer,