aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-11-27 01:59:58 +0000
committerBart Polot <bart@net.in.tum.de>2013-11-27 01:59:58 +0000
commita637a7e7b9b8c16844b630a1e2a94fce6006b30a (patch)
treea5a0ecfc689a2d003e00a31ca49b4d3c678eca04 /src
parent5f2d097d94dfa3049f151eaeb69c6bb8ee0a75ff (diff)
downloadgnunet-a637a7e7b9b8c16844b630a1e2a94fce6006b30a.tar.gz
gnunet-a637a7e7b9b8c16844b630a1e2a94fce6006b30a.zip
- log
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh_connection.c1
-rw-r--r--src/mesh/gnunet-service-mesh_tunnel.c9
2 files changed, 6 insertions, 4 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c
index cc5a19c74..8d2ef4044 100644
--- a/src/mesh/gnunet-service-mesh_connection.c
+++ b/src/mesh/gnunet-service-mesh_connection.c
@@ -1517,6 +1517,7 @@ GMC_handle_destroy (void *cls, const struct GNUNET_PeerIdentity *peer,
1517 */ 1517 */
1518 GNUNET_STATISTICS_update (stats, "# control on unknown tunnel", 1518 GNUNET_STATISTICS_update (stats, "# control on unknown tunnel",
1519 1, GNUNET_NO); 1519 1, GNUNET_NO);
1520 LOG (GNUNET_ERROR_TYPE_DEBUG, " connection unknown: already destroyed?\n");
1520 return GNUNET_OK; 1521 return GNUNET_OK;
1521 } 1522 }
1522 fwd = is_fwd (c, peer); 1523 fwd = is_fwd (c, peer);
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c
index 80db8e8eb..a13d88fd5 100644
--- a/src/mesh/gnunet-service-mesh_tunnel.c
+++ b/src/mesh/gnunet-service-mesh_tunnel.c
@@ -395,7 +395,7 @@ get_connection_allowed (const struct MeshTConnection *tc)
395 * @return GNUNET_OK if message is fine, GNUNET_SYSERR otherwise. 395 * @return GNUNET_OK if message is fine, GNUNET_SYSERR otherwise.
396 */ 396 */
397int 397int
398check_ephemeral (struct MeshTunnel3 *t, 398check_ephemeral (struct MeshTunnel3 *t,
399 const struct GNUNET_MESH_KX_Ephemeral *msg) 399 const struct GNUNET_MESH_KX_Ephemeral *msg)
400{ 400{
401 /* Check message size */ 401 /* Check message size */
@@ -1623,6 +1623,7 @@ GMT_destroy_empty (struct MeshTunnel3 *t)
1623{ 1623{
1624 struct MeshTConnection *iter; 1624 struct MeshTConnection *iter;
1625 1625
1626 LOG (GNUNET_ERROR_TYPE_DEBUG, "Tunnel empty: destroying scheduled\n");
1626 for (iter = t->connection_head; NULL != iter; iter = iter->next) 1627 for (iter = t->connection_head; NULL != iter; iter = iter->next)
1627 { 1628 {
1628 GMC_send_destroy (iter->c); 1629 GMC_send_destroy (iter->c);
@@ -1964,7 +1965,7 @@ GMT_send_connection_acks (struct MeshTunnel3 *t)
1964 unsigned int cs; 1965 unsigned int cs;
1965 unsigned int buffer; 1966 unsigned int buffer;
1966 1967
1967 LOG (GNUNET_ERROR_TYPE_DEBUG, 1968 LOG (GNUNET_ERROR_TYPE_DEBUG,
1968 "Tunnel send connection ACKs on %s\n", 1969 "Tunnel send connection ACKs on %s\n",
1969 GMT_2s (t)); 1970 GMT_2s (t));
1970 1971
@@ -2019,7 +2020,7 @@ GMT_send_connection_acks (struct MeshTunnel3 *t)
2019 * @param fwd Was this a FWD going message? 2020 * @param fwd Was this a FWD going message?
2020 * @param size Size of the message. 2021 * @param size Size of the message.
2021 */ 2022 */
2022static void 2023static void
2023message_sent (void *cls, 2024message_sent (void *cls,
2024 struct MeshConnection *c, 2025 struct MeshConnection *c,
2025 struct MeshConnectionQueue *q, 2026 struct MeshConnectionQueue *q,
@@ -2227,4 +2228,4 @@ GMT_2s (const struct MeshTunnel3 *t)
2227 return "(NULL)"; 2228 return "(NULL)";
2228 2229
2229 return GMP_2s (t->peer); 2230 return GMP_2s (t->peer);
2230} \ No newline at end of file 2231}