- debug info for tunnel status mismatch
[oweals/gnunet.git] / src / cadet / gnunet-service-cadet_connection.c
index 3ef421069a4e625e1ea465aaf8327dbd7d0d4ea4..ab8f94fc4caed86825bb584e4e71f2e3d34d8abd 100644 (file)
@@ -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;