diff options
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index 331203471..d6084d9f0 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c | |||
@@ -605,7 +605,8 @@ create_session (struct Plugin *plugin, const struct GNUNET_PeerIdentity *target, | |||
605 | * | 605 | * |
606 | * @param session for which session should we do this | 606 | * @param session for which session should we do this |
607 | */ | 607 | */ |
608 | static void process_pending_messages (struct Session *session); | 608 | static void |
609 | process_pending_messages (struct Session *session); | ||
609 | 610 | ||
610 | 611 | ||
611 | /** | 612 | /** |
@@ -779,8 +780,8 @@ disconnect_session (struct Session *session) | |||
779 | (session->connect_addr != | 780 | (session->connect_addr != |
780 | NULL) ? tcp_address_to_string (session->plugin, | 781 | NULL) ? tcp_address_to_string (session->plugin, |
781 | session->connect_addr, | 782 | session->connect_addr, |
782 | session-> | 783 | session->connect_alen) : |
783 | connect_alen) : "*"); | 784 | "*"); |
784 | #endif | 785 | #endif |
785 | /* remove from session list */ | 786 | /* remove from session list */ |
786 | prev = NULL; | 787 | prev = NULL; |
@@ -1455,8 +1456,8 @@ handle_tcp_nat_probe (void *cls, struct GNUNET_SERVER_Client *client, | |||
1455 | 1456 | ||
1456 | session = | 1457 | session = |
1457 | GNUNET_CONTAINER_multihashmap_get (plugin->nat_wait_conns, | 1458 | GNUNET_CONTAINER_multihashmap_get (plugin->nat_wait_conns, |
1458 | &tcp_nat_probe->clientIdentity. | 1459 | &tcp_nat_probe-> |
1459 | hashPubKey); | 1460 | clientIdentity.hashPubKey); |
1460 | if (session == NULL) | 1461 | if (session == NULL) |
1461 | { | 1462 | { |
1462 | #if DEBUG_TCP_NAT | 1463 | #if DEBUG_TCP_NAT |
@@ -1775,8 +1776,8 @@ disconnect_notify (void *cls, struct GNUNET_SERVER_Client *client) | |||
1775 | (session->connect_addr != | 1776 | (session->connect_addr != |
1776 | NULL) ? tcp_address_to_string (session->plugin, | 1777 | NULL) ? tcp_address_to_string (session->plugin, |
1777 | session->connect_addr, | 1778 | session->connect_addr, |
1778 | session-> | 1779 | session->connect_alen) : |
1779 | connect_alen) : "*"); | 1780 | "*"); |
1780 | #endif | 1781 | #endif |
1781 | GNUNET_STATISTICS_update (session->plugin->env->stats, | 1782 | GNUNET_STATISTICS_update (session->plugin->env->stats, |
1782 | gettext_noop | 1783 | gettext_noop |
@@ -1863,8 +1864,8 @@ try_connection_reversal (void *cls, const struct sockaddr *addr, | |||
1863 | tcp_probe_ctx); | 1864 | tcp_probe_ctx); |
1864 | tcp_probe_ctx->transmit_handle = | 1865 | tcp_probe_ctx->transmit_handle = |
1865 | GNUNET_CONNECTION_notify_transmit_ready (sock, | 1866 | GNUNET_CONNECTION_notify_transmit_ready (sock, |
1866 | ntohs (tcp_probe_ctx->message. | 1867 | ntohs (tcp_probe_ctx-> |
1867 | header.size), | 1868 | message.header.size), |
1868 | GNUNET_TIME_UNIT_FOREVER_REL, | 1869 | GNUNET_TIME_UNIT_FOREVER_REL, |
1869 | ¬ify_send_probe, | 1870 | ¬ify_send_probe, |
1870 | tcp_probe_ctx); | 1871 | tcp_probe_ctx); |