- log
authorBart Polot <bart@net.in.tum.de>
Wed, 27 Nov 2013 01:59:58 +0000 (01:59 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 27 Nov 2013 01:59:58 +0000 (01:59 +0000)
src/mesh/gnunet-service-mesh_connection.c
src/mesh/gnunet-service-mesh_tunnel.c

index cc5a19c745808b485972c040059efc5ba41e5829..8d2ef4044b0725954bb210415c1bc9167f64d782 100644 (file)
@@ -1517,6 +1517,7 @@ GMC_handle_destroy (void *cls, const struct GNUNET_PeerIdentity *peer,
      */
     GNUNET_STATISTICS_update (stats, "# control on unknown tunnel",
                               1, GNUNET_NO);
+    LOG (GNUNET_ERROR_TYPE_DEBUG, "  connection unknown: already destroyed?\n");
     return GNUNET_OK;
   }
   fwd = is_fwd (c, peer);
index 80db8e8eb71ca3980d785a7567e8d01489af4b1e..a13d88fd53ad3a9ea3111eb5d973cd49fbc1e3f8 100644 (file)
@@ -395,7 +395,7 @@ get_connection_allowed (const struct MeshTConnection *tc)
  * @return GNUNET_OK if message is fine, GNUNET_SYSERR otherwise.
  */
 int
-check_ephemeral (struct MeshTunnel3 *t, 
+check_ephemeral (struct MeshTunnel3 *t,
                  const struct GNUNET_MESH_KX_Ephemeral *msg)
 {
   /* Check message size */
@@ -1623,6 +1623,7 @@ GMT_destroy_empty (struct MeshTunnel3 *t)
 {
   struct MeshTConnection *iter;
 
+  LOG (GNUNET_ERROR_TYPE_DEBUG, "Tunnel empty: destroying scheduled\n");
   for (iter = t->connection_head; NULL != iter; iter = iter->next)
   {
     GMC_send_destroy (iter->c);
@@ -1964,7 +1965,7 @@ GMT_send_connection_acks (struct MeshTunnel3 *t)
   unsigned int cs;
   unsigned int buffer;
 
-  LOG (GNUNET_ERROR_TYPE_DEBUG, 
+  LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Tunnel send connection ACKs on %s\n",
        GMT_2s (t));
 
@@ -2019,7 +2020,7 @@ GMT_send_connection_acks (struct MeshTunnel3 *t)
  * @param fwd Was this a FWD going message?
  * @param size Size of the message.
  */
-static void 
+static void
 message_sent (void *cls,
               struct MeshConnection *c,
               struct MeshConnectionQueue *q,
@@ -2227,4 +2228,4 @@ GMT_2s (const struct MeshTunnel3 *t)
     return "(NULL)";
 
   return GMP_2s (t->peer);
-}
\ No newline at end of file
+}