From: Bart Polot Date: Mon, 15 Dec 2014 07:17:37 +0000 (+0000) Subject: - more debug for received traffic X-Git-Tag: initial-import-from-subversion-38251~2926 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bfc8be4dfc24e89ac6d6d4fe1e70f1dc67ee9afe;p=oweals%2Fgnunet.git - more debug for received traffic --- 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));