From bfc8be4dfc24e89ac6d6d4fe1e70f1dc67ee9afe Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 15 Dec 2014 07:17:37 +0000 Subject: [PATCH] - more debug for received traffic --- src/cadet/gnunet-service-cadet_connection.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index b35b7ebac..e07b444ca 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c @@ -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)); -- 2.25.1