diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-12-15 07:17:37 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-12-15 07:17:37 +0000 |
commit | bfc8be4dfc24e89ac6d6d4fe1e70f1dc67ee9afe (patch) | |
tree | 18f72beb64e669b29e75cc64a9c3a253351ec036 /src | |
parent | aa5162c3ecb84acd1e8544cac884cc57be0f5d62 (diff) | |
download | gnunet-bfc8be4dfc24e89ac6d6d4fe1e70f1dc67ee9afe.tar.gz gnunet-bfc8be4dfc24e89ac6d6d4fe1e70f1dc67ee9afe.zip |
- more debug for received traffic
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, | |||
1276 | 1276 | ||
1277 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Connection %s FWD timed out. Destroying.\n", | 1277 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Connection %s FWD timed out. Destroying.\n", |
1278 | GCC_2s (c)); | 1278 | GCC_2s (c)); |
1279 | GCC_debug (c, GNUNET_ERROR_TYPE_DEBUG); | ||
1280 | |||
1279 | if (GCC_is_origin (c, GNUNET_YES)) /* If local, leave. */ | 1281 | if (GCC_is_origin (c, GNUNET_YES)) /* If local, leave. */ |
1280 | { | 1282 | { |
1281 | GNUNET_break (0); | 1283 | GNUNET_break (0); |
@@ -1528,6 +1530,8 @@ log_message (const struct GNUNET_MessageHeader *message, | |||
1528 | const struct GNUNET_PeerIdentity *peer, | 1530 | const struct GNUNET_PeerIdentity *peer, |
1529 | const struct GNUNET_CADET_Hash *hash) | 1531 | const struct GNUNET_CADET_Hash *hash) |
1530 | { | 1532 | { |
1533 | LOG (GNUNET_ERROR_TYPE_INFO, "\n"); | ||
1534 | LOG (GNUNET_ERROR_TYPE_INFO, "\n"); | ||
1531 | LOG (GNUNET_ERROR_TYPE_INFO, "<-- %s on connection %s from %s\n", | 1535 | LOG (GNUNET_ERROR_TYPE_INFO, "<-- %s on connection %s from %s\n", |
1532 | GC_m2s (ntohs (message->type)), GNUNET_h2s (GC_h2hc (hash)), | 1536 | GC_m2s (ntohs (message->type)), GNUNET_h2s (GC_h2hc (hash)), |
1533 | GNUNET_i2s (peer)); | 1537 | GNUNET_i2s (peer)); |