From 3e82db5582e578e52e0a9e06fb0af1a297338a6f Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 21 Jul 2014 00:15:28 +0000 Subject: [PATCH] - debug info for tunnel status mismatch --- src/cadet/gnunet-service-cadet_connection.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) if (CADET_TUNNEL_SEARCHING == GCT_get_cstate (c->t)) { - /* TODO DHT GET with RO_BART */ + /* If status is SEARCHING, why is there a connection? Should be WAITING */ + GNUNET_break (0); + GCT_debug (c->t, GNUNET_ERROR_TYPE_ERROR); LOG (GNUNET_ERROR_TYPE_INFO, "not sending keepalive, tunnel SEARCHING\n"); schedule_next_keepalive (c, fwd); return; -- 2.25.1