- debug info for tunnel status mismatch
authorBart Polot <bart@net.in.tum.de>
Mon, 21 Jul 2014 00:15:28 +0000 (00:15 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 21 Jul 2014 00:15:28 +0000 (00:15 +0000)
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;