aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2015-07-31 06:58:54 +0000
committerBart Polot <bart@net.in.tum.de>2015-07-31 06:58:54 +0000
commit5eb722ace41a4cccf9d65bf408cfd3c45756cf2f (patch)
treeb6b021cc3bb21666efed26038b191a62e37d943c
parent06f5e4c16372d8e4c61a7e18f23a8a2c4e864d5d (diff)
downloadgnunet-5eb722ace41a4cccf9d65bf408cfd3c45756cf2f.tar.gz
gnunet-5eb722ace41a4cccf9d65bf408cfd3c45756cf2f.zip
- warn about leftover CHANNEL_DESTROY in tunnel, do not break (connectivity error, not implementation)
-rw-r--r--src/cadet/gnunet-service-cadet_tunnel.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c
index 32c21b8d0..50d1ab2e1 100644
--- a/src/cadet/gnunet-service-cadet_tunnel.c
+++ b/src/cadet/gnunet-service-cadet_tunnel.c
@@ -3741,6 +3741,11 @@ GCT_destroy (struct CadetTunnel *t)
3741 LOG (GNUNET_ERROR_TYPE_DEBUG, 3741 LOG (GNUNET_ERROR_TYPE_DEBUG,
3742 "one keepalive left behind on tunnel shutdown\n"); 3742 "one keepalive left behind on tunnel shutdown\n");
3743 } 3743 }
3744 else if (GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DESTROY == type)
3745 {
3746 LOG (GNUNET_ERROR_TYPE_WARNING,
3747 "tunnel destroyed before a CHANNEL_DESTROY was sent to peer\n");
3748 }
3744 else 3749 else
3745 { 3750 {
3746 GNUNET_break (0); 3751 GNUNET_break (0);