- more debug for received traffic
authorBart Polot <bart@net.in.tum.de>
Mon, 15 Dec 2014 07:17:37 +0000 (07:17 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 15 Dec 2014 07:17:37 +0000 (07:17 +0000)
src/cadet/gnunet-service-cadet_connection.c

index b35b7ebac9774ada85a904667471a5541290e04f..e07b444ca585b70a09c6f9bf0d009967b2181815 100644 (file)
@@ -1276,6 +1276,8 @@ connection_fwd_timeout (void *cls,
 
   LOG (GNUNET_ERROR_TYPE_DEBUG, "Connection %s FWD timed out. Destroying.\n",
        GCC_2s (c));
+  GCC_debug (c, GNUNET_ERROR_TYPE_DEBUG);
+
   if (GCC_is_origin (c, GNUNET_YES)) /* If local, leave. */
   {
     GNUNET_break (0);
@@ -1528,6 +1530,8 @@ log_message (const struct GNUNET_MessageHeader *message,
              const struct GNUNET_PeerIdentity *peer,
              const struct GNUNET_CADET_Hash *hash)
 {
+  LOG (GNUNET_ERROR_TYPE_INFO, "\n");
+  LOG (GNUNET_ERROR_TYPE_INFO, "\n");
   LOG (GNUNET_ERROR_TYPE_INFO, "<-- %s on connection %s from %s\n",
        GC_m2s (ntohs (message->type)), GNUNET_h2s (GC_h2hc (hash)),
        GNUNET_i2s (peer));