aboutsummaryrefslogtreecommitdiff
path: root/src/cadet
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-07-21 00:15:28 +0000
committerBart Polot <bart@net.in.tum.de>2014-07-21 00:15:28 +0000
commit3e82db5582e578e52e0a9e06fb0af1a297338a6f (patch)
treeb38ba7b0be32732ee98b52f6032e15ad34795c8b /src/cadet
parent097c986edf4a295275ed6c9f1e5cede500b2dc96 (diff)
downloadgnunet-3e82db5582e578e52e0a9e06fb0af1a297338a6f.tar.gz
gnunet-3e82db5582e578e52e0a9e06fb0af1a297338a6f.zip
- debug info for tunnel status mismatch
Diffstat (limited to 'src/cadet')
-rw-r--r--src/cadet/gnunet-service-cadet_connection.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c
index 3ef421069..ab8f94fc4 100644
--- a/src/cadet/gnunet-service-cadet_connection.c
+++ b/src/cadet/gnunet-service-cadet_connection.c
@@ -961,7 +961,9 @@ connection_maintain (struct CadetConnection *c, int fwd)
961 961
962 if (CADET_TUNNEL_SEARCHING == GCT_get_cstate (c->t)) 962 if (CADET_TUNNEL_SEARCHING == GCT_get_cstate (c->t))
963 { 963 {
964 /* TODO DHT GET with RO_BART */ 964 /* If status is SEARCHING, why is there a connection? Should be WAITING */
965 GNUNET_break (0);
966 GCT_debug (c->t, GNUNET_ERROR_TYPE_ERROR);
965 LOG (GNUNET_ERROR_TYPE_INFO, "not sending keepalive, tunnel SEARCHING\n"); 967 LOG (GNUNET_ERROR_TYPE_INFO, "not sending keepalive, tunnel SEARCHING\n");
966 schedule_next_keepalive (c, fwd); 968 schedule_next_keepalive (c, fwd);
967 return; 969 return;