aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-04-19 10:51:26 +0000
committerChristian Grothoff <christian@grothoff.org>2012-04-19 10:51:26 +0000
commit92b983e311c77322914cc6164bc8d24f0eaffdf4 (patch)
treebaa1457d8a2830088f545249a82c72c8cd39ecc1 /src/transport/plugin_transport_tcp.c
parentccc7218f3d2008d4e7ec5e222ba6b6451ec677ba (diff)
downloadgnunet-92b983e311c77322914cc6164bc8d24f0eaffdf4.tar.gz
gnunet-92b983e311c77322914cc6164bc8d24f0eaffdf4.zip
-removing obsolete argument from GNUNET_CONNECTION_destroy
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index 9831070dd..ee94970e5 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -2026,7 +2026,7 @@ notify_send_probe (void *cls, size_t size, void *buf)
2026 tcp_probe_ctx); 2026 tcp_probe_ctx);
2027 if (buf == NULL) 2027 if (buf == NULL)
2028 { 2028 {
2029 GNUNET_CONNECTION_destroy (tcp_probe_ctx->sock, GNUNET_NO); 2029 GNUNET_CONNECTION_destroy (tcp_probe_ctx->sock);
2030 GNUNET_free (tcp_probe_ctx); 2030 GNUNET_free (tcp_probe_ctx);
2031 return 0; 2031 return 0;
2032 } 2032 }
@@ -2301,7 +2301,7 @@ libgnunet_plugin_transport_tcp_done (void *cls)
2301 { 2301 {
2302 GNUNET_CONTAINER_DLL_remove (plugin->probe_head, plugin->probe_tail, 2302 GNUNET_CONTAINER_DLL_remove (plugin->probe_head, plugin->probe_tail,
2303 tcp_probe); 2303 tcp_probe);
2304 GNUNET_CONNECTION_destroy (tcp_probe->sock, GNUNET_NO); 2304 GNUNET_CONNECTION_destroy (tcp_probe->sock);
2305 GNUNET_free (tcp_probe); 2305 GNUNET_free (tcp_probe);
2306 } 2306 }
2307 GNUNET_CONTAINER_multihashmap_destroy (plugin->nat_wait_conns); 2307 GNUNET_CONTAINER_multihashmap_destroy (plugin->nat_wait_conns);